]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/image_png.h
Separate PNG loading to a separate file
[libs/gui.git] / source / graphics / image_png.h
1 #ifndef MSP_GRAPHICS_IMAGE_PNG_H_
2 #define MSP_GRAPHICS_IMAGE_PNG_H_
3
4 #include <msp/io/base.h>
5 #include "image.h"
6
7 namespace Msp {
8 namespace Graphics {
9
10 #ifdef WITH_LIBPNG
11 bool is_png(const void *, unsigned);
12 void load_png(IO::Base &, Image::Private &);
13 #endif
14
15 } // namespace Graphics
16 } // namespace Msp
17
18 #endif