3 * Purpose: SKA Image Class Loader and Writer
5 /* ==========================================================
6 * CxImageSKA (c) 25/Sep/2007 Davide Pizzolato - www.xdp.it
7 * For conditions of distribution and use, see copyright notice in ximage.h
8 * ==========================================================
10 #if !defined(__ximaSKA_h)
15 #if CXIMAGE_SUPPORT_SKA
17 class CxImageSKA: public CxImage
20 typedef struct tagSkaHeader {
22 unsigned short Height;
29 CxImageSKA(): CxImage(CXIMAGE_FORMAT_SKA) {}
31 // bool Load(const char * imageFileName){ return CxImage::Load(imageFileName,CXIMAGE_FORMAT_ICO);}
32 // bool Save(const char * imageFileName){ return CxImage::Save(imageFileName,CXIMAGE_FORMAT_ICO);}
33 bool Decode(CxFile * hFile);
34 bool Decode(FILE *hFile) { CxIOFile file(hFile); return Decode(&file); }
36 #if CXIMAGE_SUPPORT_ENCODE
37 bool Encode(CxFile * hFile);
38 bool Encode(FILE *hFile) { CxIOFile file(hFile); return Encode(&file); }
39 #endif // CXIMAGE_SUPPORT_ENCODE