X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..09d8cc190df922a72d7dc9f9fdc3a51c037a3ca2:/include/wx/imagtiff.h diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index e027ff0b64..44e8c6fa64 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -16,6 +16,11 @@ #include "wx/image.h" +// defines for wxImage::SetOption +#define wxIMAGE_OPTION_BITSPERSAMPLE wxString(_T("BitsPerSample")) +#define wxIMAGE_OPTION_SAMPLESPERPIXEL wxString(_T("SamplesPerPixel")) +#define wxIMAGE_OPTION_COMPRESSION wxString(_T("Compression")) +#define wxIMAGE_OPTION_IMAGEDESCRIPTOR wxString(_T("ImageDescriptor")) //----------------------------------------------------------------------------- // wxTIFFHandler @@ -28,8 +33,8 @@ public: wxTIFFHandler(); #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); virtual bool DoCanRead( wxInputStream& stream ); virtual int GetImageCount( wxInputStream& stream ); #endif