36 png_infop info_ptr, end_info;
41 void Read(
BYTE *pData,
int iLength);
58 return reinterpret_cast<uint32_t *
>(pImageData+iY*iRowSize);
62 bool Save(
const char *szFilename);
71 static void PNGAPI CPNGReadFn(png_structp png_ptr, png_bytep data,
size_t length);
bool Create(int iWdt, int iHgt, bool fAlpha)
uint32_t * GetRow(int iY)
bool SetPix(int iX, int iY, DWORD dwValue)
bool Save(const char *szFilename)
static void ScheduleSaving(CPNGFile *png, const char *filename)
bool Load(BYTE *pFile, int iSize)
DWORD GetPix(int iX, int iY)
static void WaitForSaves()