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

image IO from/to JPEG file (jpeglib 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_jpeg (sprint::io::xstream *in, sprint::iimage *image)
bool sprint::write_jpeg (sprint::io::xstream *out, const sprint::imageview &image, unsigned int quality=90)
bool sprint::read_jpeg (const char *filename, sprint::iimage *image)
 read a jpeg from file
bool sprint::write_jpeg (const char *filename, const sprint::imageview &image, unsigned int quality=90)
 write a jpeg to file
bool sprint::write_jpeg (sprint::io::xstream *out, sprint::gtl::CBitmapHandle hbmp, int quality=90)
 Save a BMP.

Detailed Description

image IO from/to JPEG file (jpeglib wrapper)

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines