change TiffDetails to a class so that cleanup would be easier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
056e08e286
commit
5cd3d8f8e3
@ -57,13 +57,21 @@
|
|||||||
|
|
||||||
enum TIFF_IMAGE_TYPE {
|
enum TIFF_IMAGE_TYPE {
|
||||||
TIFF_BILEVEL = 1,
|
TIFF_BILEVEL = 1,
|
||||||
|
TIFF_PALETTE,
|
||||||
TIFF_RGB,
|
TIFF_RGB,
|
||||||
TIFF_CMYK
|
TIFF_CMYK
|
||||||
};
|
};
|
||||||
|
|
||||||
// structure for storing only the TIFF fields
|
// class for storing only the TIFF fields
|
||||||
// that are of interest to the TIFFTranslator
|
// that are of interest to the TIFFTranslator
|
||||||
struct TiffDetails {
|
//
|
||||||
|
// The class is very minimal so that it is
|
||||||
|
// convenient to use, but cleans up after itself
|
||||||
|
class TiffDetails {
|
||||||
|
public:
|
||||||
|
TiffDetails();
|
||||||
|
~TiffDetails();
|
||||||
|
|
||||||
uint32 width;
|
uint32 width;
|
||||||
uint32 height;
|
uint32 height;
|
||||||
uint32 compression;
|
uint32 compression;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user