Class for handling TIFF memory buffers. More...
#include <mi32/tiffext.h>

Public Member Functions | |
| TIFFEXT_MEM () | |
| ~TIFFEXT_MEM () | |
| ERRVALUE | Close () |
| UINT8 * | Detach () |
| const UINT8 * | GetBuffer () const |
| INT64 | GetBufferSize () const |
| ERRVALUE | Make (UINT8 *&buf, UINT32 bufsize) |
| ERRVALUE | Open (UINT8 *&buf, UINT32 bufsize) |
Class for handling TIFF memory buffers.
| TIFFEXT_MEM::TIFFEXT_MEM | ( | ) |
Constructor.
| TIFFEXT_MEM::~TIFFEXT_MEM | ( | ) |
Destructor.
| 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.
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.
1.6.1