resonance 1.0.1
Loading...
Searching...
No Matches
agiffile.h
Go to the documentation of this file.
1#pragma once
2
3#include "rndartt/agfxfile.h"
4
16class AGifFile : public AGfxFile {
17public:
25 explicit AGifFile(FILE *pFile) : AGfxFile(pFile) {
26 }
27
38 virtual int StartRead();
39
57 virtual int ReadFrame(ABitmap &bitmap, int *pbEnd);
58
67 virtual int Write(const ABitmap &bitmap);
68
69private:
81 void ReadExtension();
82
96 static int DecodeLzwImage(FILE *pFile, int nCodeSize, unsigned char *pDest);
97};
Description of a pixel rectangle, its layout, and its palette.
Definition abitmap.h:95
AGfxFile(FILE *pFile)
Construct over an open file.
Definition agfxfile.h:74
virtual int Write(const ABitmap &bitmap)
Slot 5.
virtual int ReadFrame(ABitmap &bitmap, int *pbEnd)
Slot 3.
AGifFile(FILE *pFile)
Construct over an open file.
Definition agiffile.h:25
virtual int StartRead()
Slot 1.