40 #ifndef INCLUDED_DISTI_PSDIMAGE_H
41 #define INCLUDED_DISTI_PSDIMAGE_H
57 GLS_EXPORT
const char*
Description() {
return "Photoshop (PSD) Loader"; }
58 GLS_EXPORT
const char*
Version() {
return "1.1"; }
64 GLS_EXPORT
bool IsFileType(
const char* filename );
70 static GLS_EXPORT PsdImageLoader* Instance();
72 GLS_EXPORT
virtual void Destroy() {}
76 void ReadImageChunk( Image* newImage,
int compression_type,
int realchannels,
unsigned int bit_depth,
bool reverseAlpha,
int top,
int left, FILE* inf );
79 void ReadImageChunk8( Image* newImage,
int compression_type,
int realchannels,
bool reverseAlpha,
int top,
int left, FILE* inf );
82 void ReadImageChunk16( Image* newImage,
int compression_type,
int realchannels,
bool reverseAlpha,
int top,
int left, FILE* inf );
const char * Version()
Definition: psdimage.h:58
Definition: texture_loader.h:132
const char * GenerateDeclaration()
Definition: psdimage.h:61
bool IsFileType(const char *filename)
A file for all GL Studio files to include.
const char * FilterDescription()
Definition: psdimage.h:54
Definition: psdimage.h:51
The TextureLoader and TextureLoaderList classes.
bool SupportsExtension(const char *ext)
const char * Description()
Definition: psdimage.h:57
const char * GenerateHeader()
Definition: psdimage.h:60
virtual Image * LoadTexture(const char *filename, const Image::LoadOptions &options, bool allowNPOT=true)
Definition: bmpimage.h:46
const char * FilterString()
Definition: psdimage.h:55