jedioutcast/utils/roq2/main/zim.h

23 lines
741 B
C
Raw Normal View History

2013-04-04 18:02:27 +00:00
#ifndef _ZIM_H_INCLUDED
#define _ZIM_H_INCLUDED
#include "gdefs.h"
void ZimFree(TagTable *image);
int ZimWidth(TagTable *image);
int ZimHeight(TagTable *image);
int ZimFields(TagTable *image);
void *ZimData(TagTable *image);
int ZimBpp(TagTable *image);
BOOL ZimIsPlanar(TagTable *image);
BOOL ZimHasAlpha(TagTable *image);
TagTable *ZimImageTagTableFromFile(const char *filename, const char *format);
TagTable *ZimImageTagTableNew(int width, int height, int fields);
int ZimWriteJFIF(TagTable *image,const char *filename, int quality);
void ZimGetDataPlanes(TagTable *image, byte **iPlanes);
TagTable *ZimExtractField(TagTable *image);
void ZimResize(TagTable *image, int newx, int newy);
#endif //_ZIM_H_INCLUDED