40 #ifndef INCLUDED_DISTI_PSDIMAGE_H
41 #define INCLUDED_DISTI_PSDIMAGE_H
58 GLS_EXPORT
const char *
Description() {
return "Photoshop (PSD) Loader"; }
59 GLS_EXPORT
const char *
Version() {
return "1.1"; }
65 GLS_EXPORT
bool IsFileType(
const char *filename);
71 static GLS_EXPORT PsdImageLoader* Instance();
73 GLS_EXPORT
virtual void Destroy() {}
77 void ReadImageChunk(Image *newImage,
int compression_type,
int realchannels,
unsigned int bit_depth,
bool reverseAlpha,
int top,
int left,FILE *inf);
80 void ReadImageChunk8(Image *newImage,
int compression_type,
int realchannels,
bool reverseAlpha,
int top,
int left,FILE *inf);
83 void ReadImageChunk16(Image *newImage,
int compression_type,
int realchannels,
bool reverseAlpha,
int top,
int left,FILE *inf);
const char * Version()
Definition: psdimage.h:59
Definition: texture_loader.h:135
const char * GenerateDeclaration()
Definition: psdimage.h:62
bool IsFileType(const char *filename)
A file for all GL Studio files to include.
const char * FilterDescription()
Definition: psdimage.h:55
Definition: psdimage.h:52
The TextureLoader and TextureLoaderList classes.
bool SupportsExtension(const char *ext)
const char * Description()
Definition: psdimage.h:58
const char * GenerateHeader()
Definition: psdimage.h:61
virtual Image * LoadTexture(const char *filename, const Image::LoadOptions &options, bool allowNPOT=true)
Definition: bmpimage.h:46
const char * FilterString()
Definition: psdimage.h:56