Added support to quick thumbnail code to load PPM embedded thumbnails.

This commit is contained in:
Steve Herrell
2010-12-01 20:04:29 -05:00
parent ecef42b4c1
commit ab777634db
6 changed files with 83 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ class ImageIO {
int loadTIFF (Glib::ustring fname);
int loadJPEGFromMemory (const char* buffer, int bufsize);
int loadPPMFromMemory(const char* buffer,int width,int height, bool swap, int bps);
int savePNG (Glib::ustring fname, int compression = -1, int bps = -1);
int saveJPEG (Glib::ustring fname, int quality = 100);