Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <TiffImg.h>
Public Member Functions | |
void | Close () |
bool | Create (const char *szFname, unsigned int nWidth, unsigned int nHeight, unsigned int nBPS, unsigned int nPhoto, unsigned int nSamples, float fXRes, float fYRes, bool bCompress=true, bool bSep=false) |
CTiffImg () | |
unsigned int | GetBitsPerSample () |
unsigned int | GetBytesPerLine () |
unsigned int | GetCompress () |
unsigned int | GetExtraSamples () |
unsigned int | GetHeight () |
double | GetHeightIn () |
bool | GetIccProfile (unsigned char *&pProfile, unsigned int &nLen) |
unsigned int | GetPhoto () |
unsigned int | GetPlanar () |
unsigned int | GetSamples () |
unsigned int | GetWidth () |
double | GetWidthIn () |
float | GetXRes () |
float | GetYRes () |
bool | Open (const char *szFname) |
bool | ReadLine (unsigned char *pBuf) |
bool | SetIccProfile (unsigned char *pProfile, unsigned int nLen) |
bool | WriteLine (unsigned char *pBuf) |
virtual | ~CTiffImg () |
Protected Attributes | |
bool | m_bRead |
float | m_fXRes |
float | m_fYRes |
TIFF * | m_hTif |
icUInt16Number | m_nBitsPerSample |
unsigned int | m_nBytesPerLine |
icUInt16Number | m_nBytesPerSample |
unsigned int | m_nBytesPerStripLine |
icUInt16Number | m_nCompress |
unsigned int | m_nCurLine |
unsigned int | m_nCurStrip |
icUInt16Number | m_nExtraSamples |
unsigned int | m_nHeight |
icUInt16Number | m_nPhoto |
icUInt16Number | m_nPlanar |
unsigned int | m_nProfileLength |
unsigned int | m_nRowsPerStrip |
icUInt16Number | m_nSamples |
unsigned int | m_nStripSamples |
unsigned int | m_nStripSize |
unsigned int | m_nStripsPerSample |
unsigned int | m_nWidth |
unsigned char * | m_pProfile |
unsigned char * | m_pStripBuf |
CTiffImg::CTiffImg | ( | ) |
Definition at line 87 of file TiffImg.cpp.
References m_hTif, m_nBitsPerSample, m_nExtraSamples, m_nHeight, m_nSamples, m_nWidth, and m_pStripBuf.
|
virtual |
Definition at line 99 of file TiffImg.cpp.
References Close().
void CTiffImg::Close | ( | ) |
Definition at line 104 of file TiffImg.cpp.
References m_hTif, m_nBitsPerSample, m_nExtraSamples, m_nHeight, m_nSamples, m_nWidth, and m_pStripBuf.
Referenced by Create(), main(), main(), main(), Open(), and ~CTiffImg().
bool CTiffImg::Create | ( | const char * | szFname, |
unsigned int | nWidth, | ||
unsigned int | nHeight, | ||
unsigned int | nBPS, | ||
unsigned int | nPhoto, | ||
unsigned int | nSamples, | ||
float | fXRes, | ||
float | fYRes, | ||
bool | bCompress = true, | ||
bool | bSep = false ) |
Definition at line 124 of file TiffImg.cpp.
References Close(), m_bRead, m_fXRes, m_fYRes, m_hTif, m_nBitsPerSample, m_nBytesPerLine, m_nBytesPerSample, m_nBytesPerStripLine, m_nCompress, m_nCurLine, m_nCurStrip, m_nHeight, m_nPhoto, m_nPlanar, m_nRowsPerStrip, m_nSamples, m_nStripSamples, m_nStripSize, m_nStripsPerSample, m_nWidth, m_pStripBuf, PHOTO_CIELAB, PHOTO_ICCLAB, PHOTO_MINISBLACK, and PHOTO_MINISWHITE.
Referenced by main(), and main().
|
inline |
|
inline |
|
inline |
Definition at line 107 of file TiffImg.h.
References m_nCompress.
Referenced by main(), and main().
|
inline |
Definition at line 106 of file TiffImg.h.
References m_nExtraSamples.
Referenced by main().
|
inline |
|
inline |
bool CTiffImg::GetIccProfile | ( | unsigned char *& | pProfile, |
unsigned int & | nLen ) |
unsigned int CTiffImg::GetPhoto | ( | ) |
Definition at line 391 of file TiffImg.cpp.
References m_nPhoto, PHOTO_CIELAB, PHOTO_ICCLAB, PHOTO_MINISBLACK, and PHOTO_MINISWHITE.
Referenced by main(), main(), and main().
|
inline |
|
inline |
Definition at line 105 of file TiffImg.h.
References m_nSamples.
Referenced by main(), and main().
|
inline |
|
inline |
|
inline |
|
inline |
bool CTiffImg::Open | ( | const char * | szFname | ) |
Definition at line 228 of file TiffImg.cpp.
References Close(), m_bRead, m_fXRes, m_fYRes, m_hTif, m_nBitsPerSample, m_nBytesPerLine, m_nBytesPerSample, m_nBytesPerStripLine, m_nCompress, m_nCurLine, m_nCurStrip, m_nExtraSamples, m_nHeight, m_nPhoto, m_nPlanar, m_nRowsPerStrip, m_nSamples, m_nStripSamples, m_nStripSize, m_nStripsPerSample, m_nWidth, and m_pStripBuf.
Referenced by main(), and main().
bool CTiffImg::ReadLine | ( | unsigned char * | pBuf | ) |
Definition at line 302 of file TiffImg.cpp.
References m_bRead, m_hTif, m_nBytesPerLine, m_nBytesPerSample, m_nBytesPerStripLine, m_nCurLine, m_nCurStrip, m_nRowsPerStrip, m_nSamples, m_nStripSamples, m_nStripSize, m_nStripsPerSample, m_nWidth, and m_pStripBuf.
Referenced by main().
bool CTiffImg::SetIccProfile | ( | unsigned char * | pProfile, |
unsigned int | nLen ) |
bool CTiffImg::WriteLine | ( | unsigned char * | pBuf | ) |
Definition at line 353 of file TiffImg.cpp.
References m_bRead, m_hTif, m_nBytesPerLine, m_nBytesPerSample, m_nCurStrip, m_nHeight, m_nSamples, m_nStripSamples, m_nStripSize, m_nStripsPerSample, m_nWidth, and m_pStripBuf.
Referenced by main(), and main().
|
protected |
Definition at line 119 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
|
protected |
|
protected |
Definition at line 118 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), GetIccProfile(), Open(), ReadLine(), SetIccProfile(), and WriteLine().
|
protected |
Definition at line 123 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), GetBitsPerSample(), and Open().
|
protected |
Definition at line 134 of file TiffImg.h.
Referenced by Create(), GetBytesPerLine(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 124 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 139 of file TiffImg.h.
Referenced by Create(), Open(), and ReadLine().
|
protected |
Definition at line 129 of file TiffImg.h.
Referenced by Create(), GetCompress(), and Open().
|
protected |
Definition at line 143 of file TiffImg.h.
Referenced by Create(), Open(), and ReadLine().
|
protected |
Definition at line 144 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 127 of file TiffImg.h.
Referenced by Close(), CTiffImg(), GetExtraSamples(), and Open().
|
protected |
Definition at line 122 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), GetHeight(), GetHeightIn(), Open(), and WriteLine().
|
protected |
Definition at line 125 of file TiffImg.h.
Referenced by Create(), GetPhoto(), and Open().
|
protected |
Definition at line 128 of file TiffImg.h.
Referenced by Create(), GetPlanar(), and Open().
|
protected |
Definition at line 135 of file TiffImg.h.
Referenced by Create(), Open(), and ReadLine().
|
protected |
Definition at line 126 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), GetSamples(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 137 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 136 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 138 of file TiffImg.h.
Referenced by Create(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 121 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), GetWidth(), GetWidthIn(), Open(), ReadLine(), and WriteLine().
|
protected |
Definition at line 141 of file TiffImg.h.
Referenced by Close(), Create(), CTiffImg(), Open(), ReadLine(), and WriteLine().