DDraceNetwork Docs
CImageLoader Class Reference

#include <image_loader.h>

Public Types

enum  {
  PNGLITE_COLOR_TYPE = 1 << 0 , PNGLITE_BIT_DEPTH = 1 << 1 , PNGLITE_INTERLACE_TYPE = 1 << 2 , PNGLITE_COMPRESSION_TYPE = 1 << 3 ,
  PNGLITE_FILTER_TYPE = 1 << 4
}
 

Static Public Member Functions

static bool LoadPng (CByteBufferReader &Reader, const char *pContextName, CImageInfo &Image, int &PngliteIncompatible)
 
static bool LoadPng (IOHANDLE File, const char *pFilename, CImageInfo &Image, int &PngliteIncompatible)
 
static bool SavePng (CByteBufferWriter &Writer, const CImageInfo &Image)
 
static bool SavePng (IOHANDLE File, const char *pFilename, const CImageInfo &Image)
 

Private Member Functions

 CImageLoader ()=delete
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PNGLITE_COLOR_TYPE 
PNGLITE_BIT_DEPTH 
PNGLITE_INTERLACE_TYPE 
PNGLITE_COMPRESSION_TYPE 
PNGLITE_FILTER_TYPE 

Constructor & Destructor Documentation

◆ CImageLoader()

CImageLoader::CImageLoader ( )
privatedelete

Member Function Documentation

◆ LoadPng() [1/2]

bool CImageLoader::LoadPng ( CByteBufferReader Reader,
const char *  pContextName,
CImageInfo Image,
int &  PngliteIncompatible 
)
static

◆ LoadPng() [2/2]

bool CImageLoader::LoadPng ( IOHANDLE  File,
const char *  pFilename,
CImageInfo Image,
int &  PngliteIncompatible 
)
static

◆ SavePng() [1/2]

bool CImageLoader::SavePng ( CByteBufferWriter Writer,
const CImageInfo Image 
)
static

◆ SavePng() [2/2]

bool CImageLoader::SavePng ( IOHANDLE  File,
const char *  pFilename,
const CImageInfo Image 
)
static

The documentation for this class was generated from the following files: