Scribus
Open source desktop publishing at your fingertips
ScImgDataLoader Class Referenceabstract
Inheritance diagram for ScImgDataLoader:
Collaboration diagram for ScImgDataLoader:

Public Member Functions

const QStringList & supportedFormats (void) const
 
bool supportFormat (const QString &fmt)
 
QImage & image (void)
 
QByteArray & embeddedProfile (void)
 
ImageInfoRecordimageInfoRecord (void)
 
eColorFormat pixelFormat (void)
 
void setRequest (bool valid, QMap< int, ImageLoadRequest > req)
 
bool issuedErrorMsg (void) const
 
bool issuedWarningMsg (void) const
 
const QString & getMessage (void) const
 
virtual void initialize (void)
 
virtual bool preloadAlphaChannel (const QString &fn, int page, int res, bool &hasAlpha)=0
 
virtual void loadEmbeddedProfile (const QString &fn, int page=0)=0
 
virtual bool loadPicture (const QString &fn, int page, int res, bool thumbnail)=0
 
virtual bool useRawImage ()
 

Public Attributes

RawImage r_image
 

Protected Types

enum  MsgType { noMsg = 0, warningMsg = 1, errorMsg = 2 }
 

Protected Member Functions

void swapRGBA (void)
 
void swapRGBA (QImage *img)
 
QString getPascalString (QDataStream &s)
 
double decodePSDfloat (uint data)
 
void parseRessourceData (QDataStream &s, const PSDHeader &header, uint size)
 

Protected Attributes

QStringList m_supportedFormats
 
QImage m_image
 
ImageInfoRecord m_imageInfoRecord
 
QByteArray m_embeddedProfile
 
int m_profileComponents
 
eColorFormat m_pixelFormat
 
MsgType m_msgType
 
QString m_message
 

The documentation for this class was generated from the following files: