TIFFEXT_MEM Class Reference

Class for handling TIFF memory buffers. More...

#include <mi32/tiffext.h>

Inheritance diagram for TIFFEXT_MEM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TIFFEXT_MEM ()
 ~TIFFEXT_MEM ()
ERRVALUE Close ()
UINT8Detach ()
const UINT8GetBuffer () const
INT64 GetBufferSize () const
ERRVALUE Make (UINT8 *&buf, UINT32 bufsize)
ERRVALUE Open (UINT8 *&buf, UINT32 bufsize)

Detailed Description

Class for handling TIFF memory buffers.


Constructor & Destructor Documentation

TIFFEXT_MEM::TIFFEXT_MEM (  ) 

Constructor.

TIFFEXT_MEM::~TIFFEXT_MEM (  ) 

Destructor.


Member Function Documentation

ERRVALUE TIFFEXT_MEM::Close (  ) 

Close file.

UINT8* TIFFEXT_MEM::Detach (  ) 

Get the internal buffer and transfer ownership to caller (i.e. you must free it).

const UINT8* TIFFEXT_MEM::GetBuffer (  )  const

Get the internal buffer.

INT64 TIFFEXT_MEM::GetBufferSize (  )  const

Get the size of the internal buffer.

Warning - this is the internal buffer size, which is not necessarily the size of the JPEG-compressed data.

ERRVALUE TIFFEXT_MEM::Make ( UINT8 *&  buf,
UINT32  bufsize 
)

Create a JPEG buffer.

The caller does NOT retain ownership of the buffer passed. If the buffer is not sufficiently large to store the entire image, it will be resized.

ERRVALUE TIFFEXT_MEM::Open ( UINT8 *&  buf,
UINT32  bufsize 
)

Open an existing JPEG buffer.


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

Generated on Sun Oct 7 21:33:56 2012 for TNTsdk 2012 by  doxygen 1.6.1