7 #ifndef SCIMGDATALOADER_TIFF_H
8 #define SCIMGDATALOADER_TIFF_H
11 #include "scimgdataloader.h"
30 void initSupportedFormatList();
31 int getLayers(
const QString& fn,
int page);
32 bool getImageData(TIFF* tif,
RawImage *image, uint widtht, uint heightt, uint size, uint16 photometric, uint16 bitspersample, uint16 samplesperpixel,
bool &bilevel,
bool &isCMYK);
33 bool getImageData_RGBA(TIFF* tif,
RawImage *image, uint widtht, uint heightt, uint size, uint16 bitspersample, uint16 samplesperpixel);
34 void blendOntoTarget(
RawImage *tmp,
int layOpa, QString layBlend,
bool cmyk,
bool useMask);
35 QString getLayerString(QDataStream & s);
36 bool loadChannel( QDataStream & s,
const PSDHeader & header, QList<PSDLayer> &layerInfo, uint layer,
int channel,
int component,
RawImage &tmpImg);
37 bool loadLayerInfo(QDataStream & s, QList<PSDLayer> &layerInfo);
38 bool loadLayerChannels( QDataStream & s,
const PSDHeader & header, QList<PSDLayer> &layerInfo, uint layer,
bool* firstLayer);
40 bool testAlphaChannelAvailability(
const QString& fn,
int page,
bool& hasAlpha);
41 void unmultiplyRGBA(
RawImage *image);
43 int random_table[4096];
44 uint16 photometric, samplesperpixel;
50 virtual bool preloadAlphaChannel(
const QString& fn,
int page,
int res,
bool& hasAlpha);
51 virtual void loadEmbeddedProfile(
const QString& fn,
int page = 0);
52 virtual bool loadPicture(
const QString& fn,
int page,
int res,
bool thumbnail);
54 virtual bool useRawImage() {
return true; }
Definition: scimgdataloader.h:19
Definition: rawimage.h:15
Definition: scimgdataloader_tiff.h:15