sprint 1-alpha
Namespaces | Functions
sprint/image/png.h File Reference

image IO from/to png file (libpng wrapper) More...

#include <sprint/io/xstream/xstream.h>
#include <sprint/gtl/Bitmap.h>
#include <sprint/image/imageio.h>

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Functions

bool sprint::read_png (sprint::io::xstream *in, sprint::iimage *image)
bool sprint::write_png (sprint::io::xstream *out, const imageview &image, int compression_level=-1)
 save a image onto a png file
bool sprint::write_png (sprint::io::xstream *out, sprint::gtl::CBitmapHandle hbmp, int compression_level=-1)
 Save a BMP object.
bool sprint::write_png (sprint::io::xstream *out, unsigned int width, long stride, unsigned int height, int color_type, const unsigned char *data, int compression_level=-1)

Detailed Description

image IO from/to png file (libpng wrapper)

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines