Classes | Typedefs | Enumerations | Functions
imagen Namespace Reference

Classes

class  iSharedData
 Implicit data sharing class. More...
class  iAbstractImage
 Abstract image class. More...
class  iBMP
 Reads / writes Microsoft Windows Bitmap files. More...
class  iColor
 Color vector. More...
class  iDataStream
 Abstract data stream. More...
class  iFileStream
 File stream. More...
class  iMemoryStream
 Memory stream. More...
class  iDateTime
 Date/time information. More...
class  iJobTime
 Job time information. More...
class  iImage
 Master image class. More...
class  iJPEG
 Reads / writes Joint Photographic Experts Group (JPEG) files. More...
class  iListNode
 Doubly-linked list node. More...
class  iLinkedList
 Doubly-linked list template. More...
class  iPalette
 Color palette. More...
class  iPNG
 Reads / writes Portable Network Graphic (PNG) files. More...
class  iRawImage
 Raw image data. More...
class  iTGA
 Reads / writes v1.0 and v2.0 Targa files. More...

Typedefs

typedef void(* iReadCallback )(int numRows, int curRow, Iubyte *data)
typedef void(* iWriteCallback )(int numRows, int curRow)
typedef signed char Ibyte
typedef unsigned char Iubyte
typedef unsigned short Iushort
typedef unsigned int Iuint
typedef unsigned long Iulong
typedef Iubyte iBYTE
typedef char iCHAR
typedef Iushort iWORD
typedef short iSHORT
typedef long iLONG
typedef Iulong iDWORD

Enumerations

enum  iDataSeek { iSeekStart, iSeekCur, iSeekEnd }
enum  iFileMode {
  iRead, iWrite, iReadWrite, iAppend,
  iReadAppend
}
enum  iImageFormat {
  iNULL, iMono, iIndex, iBW,
  iBWA, iRGB, iRGBA, iRGB16
}
enum  iPalFormat { iPalNull, iPalRGB, iPalRGBA, iPalRGB16 }
enum  iImageType {
  iTypeNull, iTypeRAW, iTypeBMP, iTypeJPEG,
  iTypePNG, iTypeTGA
}
enum  iImageOrigin { iOriginUL, iOriginBL, iOriginUR, iOriginBR }
enum  iUnitType { iUnit, iCentimeter, iMeter, iInch }
enum  iWrapMode { iWrapBackground, iWrapClamp, iWrapRepeat }
enum  iBitMask {
  iBit0 = 0x00000001, iBit1 = 0x00000002, iBit2 = 0x00000004, iBit3 = 0x00000008,
  iBit4 = 0x00000010, iBit5 = 0x00000020, iBit6 = 0x00000040, iBit7 = 0x00000080
}

Functions

const char * iGetTitle ()
 Returns the software title of the imagen library as a string.
const char * iGetVerString ()
 Returns the software version of the imagen library as a string.
iColor iGetPixel (Iubyte *data, int i, int bpp)
 Gets the color of the pixel at the given pixel index.
IubyteiAlloc (int size)
 Allocates memory with the operator new[].
void iDelete (Iubyte *data)
 Deletes memory with the operator delete[].

Typedef Documentation

typedef void(* imagen::iReadCallback)(int numRows, int curRow, Iubyte *data)
typedef void(* imagen::iWriteCallback)(int numRows, int curRow)
typedef signed char imagen::Ibyte
typedef unsigned char imagen::Iubyte
typedef unsigned short imagen::Iushort
typedef unsigned int imagen::Iuint
typedef unsigned long imagen::Iulong
typedef char imagen::iCHAR
typedef short imagen::iSHORT
typedef long imagen::iLONG

Enumeration Type Documentation

Enumerator:
iSeekStart 
iSeekCur 
iSeekEnd 
Enumerator:
iRead 
iWrite 
iReadWrite 
iAppend 
iReadAppend 
Enumerator:
iNULL 

Null.

iMono 

1-bit per pixel

iIndex 

8-bit colormap indexed

iBW 

8-bit grayscale

iBWA 

16-bit grayscale with alpha

iRGB 

24-bit RGB

iRGBA 

32-bit RGBA

iRGB16 

16-bit RGB

Enumerator:
iPalNull 
iPalRGB 
iPalRGBA 
iPalRGB16 
Enumerator:
iTypeNull 
iTypeRAW 
iTypeBMP 
iTypeJPEG 
iTypePNG 
iTypeTGA 
Enumerator:
iOriginUL 
iOriginBL 
iOriginUR 
iOriginBR 
Enumerator:
iUnit 
iCentimeter 
iMeter 
iInch 
Enumerator:
iWrapBackground 
iWrapClamp 
iWrapRepeat 
Enumerator:
iBit0 
iBit1 
iBit2 
iBit3 
iBit4 
iBit5 
iBit6 
iBit7 

Function Documentation

const char* imagen::iGetTitle ( )

Returns the software title of the imagen library as a string.

const char* imagen::iGetVerString ( )

Returns the software version of the imagen library as a string.

iColor imagen::iGetPixel ( Iubyte *  data,
int  i,
int  bpp 
)

Gets the color of the pixel at the given pixel index.

Parameters:
data: Pointer to the image data.
i: Pixel index.
bpp: Image data's bytes per pixel.
Iubyte* imagen::iAlloc ( int  size)

Allocates memory with the operator new[].

void imagen::iDelete ( Iubyte *  data)

Deletes memory with the operator delete[].