2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
7
#ifndef SCIMGDATALOADER_PS_H
8
#define SCIMGDATALOADER_PS_H
10
#include "scimgdataloader.h"
13
class ScImgDataLoader_PS : public ScImgDataLoader
17
void initSupportedFormatList();
18
void scanForFonts(QString fn);
19
bool parseData(QString fn);
20
void loadPhotoshop(QString fn, int gsRes);
21
void decodeA85(QByteArray &psdata, QString tmp);
22
bool loadPSjpeg(QString fn);
23
bool loadPSjpeg(QString fn, QImage &tmpImg);
24
void loadPhotoshopBinary(QString fn);
25
void loadPhotoshopBinary(QString fn, QImage &tmpImg);
26
void loadDCS1(QString fn, int gsRes);
27
void loadDCS2(QString fn, int gsRes);
28
void blendImages(QImage &source, ScColor col);
34
QMap<QString, plateOffsets> colorPlates2;
35
QMap<QString, QString> colorPlates;
42
bool hasPhotoshopImageData;
53
QMap<QString,ScColor> CustColors;
54
QStringList FontListe;
57
ScImgDataLoader_PS(void);
59
virtual void preloadAlphaChannel(const QString& fn, int res);
60
virtual void loadEmbeddedProfile(const QString& fn);
61
virtual bool loadPicture(const QString& fn, int res, bool thumbnail);