7 #ifndef SCIMGDATALOADER_JPEG_H
8 #define SCIMGDATALOADER_JPEG_H
10 #include "scimgdataloader.h"
14 #define XMD_H // shut JPEGlib up
15 #if defined(Q_OS_UNIXWARE)
16 # define HAVE_BOOLEAN // libjpeg under Unixware seems to need this
22 # undef const // remove crazy C hackery in jconfig.h
30 void initSupportedFormatList();
32 bool marker_is_icc (jpeg_saved_marker_ptr marker);
33 bool marker_is_photoshop (jpeg_saved_marker_ptr marker);
34 bool read_jpeg_marker (UINT8 requestmarker, j_decompress_ptr cinfo, JOCTET **icc_data_ptr,
unsigned int *icc_data_len);
40 virtual bool preloadAlphaChannel(
const QString& fn,
int page,
int res,
bool& hasAlpha);
41 virtual void loadEmbeddedProfile(
const QString& fn,
int page = 0);
42 virtual bool loadPicture(
const QString& fn,
int page,
int res,
bool thumbnail);
Definition: scimgdataloader.h:19
Definition: scimgdataloader_jpeg.h:26