Quote from: Galfar on 23 June 2007, 23:24:39
I am not sure what exactly you mean but I suppose it is record field alignment mismatch.
I have added few compiler options to LibTiffDelphi unit that may help you (and updated SVN).
Please let me know if it helps.
/*
* Compression schemes statically built into the library.
*/
#ifdef VMS
const TIFFCodec _TIFFBuiltinCODECS[] = {
#else
TIFFCodec _TIFFBuiltinCODECS[] = {
#endif
{ "None", COMPRESSION_NONE, TIFFInitDumpMode },
{ "LZW", COMPRESSION_LZW, TIFFInitLZW },
{ "PackBits", COMPRESSION_PACKBITS, TIFFInitPackBits },
{ "ThunderScan", COMPRESSION_THUNDERSCAN,TIFFInitThunderScan },
{ "NeXT", COMPRESSION_NEXT, TIFFInitNeXT },
{ "JPEG", COMPRESSION_JPEG, TIFFInitJPEG },
{ "Old-style JPEG", COMPRESSION_OJPEG, TIFFInitOJPEG },
{ "CCITT RLE", COMPRESSION_CCITTRLE, TIFFInitCCITTRLE },
{ "CCITT RLE/W", COMPRESSION_CCITTRLEW, TIFFInitCCITTRLEW },
{ "CCITT Group 3", COMPRESSION_CCITTFAX3, TIFFInitCCITTFax3 },
{ "CCITT Group 4", COMPRESSION_CCITTFAX4, TIFFInitCCITTFax4 },
{ "ISO JBIG", COMPRESSION_JBIG, TIFFInitJBIG },
{ "Deflate", COMPRESSION_DEFLATE, TIFFInitZIP },
{ "AdobeDeflate", COMPRESSION_ADOBE_DEFLATE , TIFFInitZIP },
{ "PixarLog", COMPRESSION_PIXARLOG, TIFFInitPixarLog },
{ "SGILog", COMPRESSION_SGILOG, TIFFInitSGILog },
{ "SGILog24", COMPRESSION_SGILOG24, TIFFInitSGILog },
{ NULL, 0, NULL }
};
{const
_TIFFBuiltinCODECS: array[0..17] of TIFFCodec = (
(name:'None'; scheme: COMPRESSION_NONE; init: TIFFInitDumpMode),
(name:'LZW'; scheme: COMPRESSION_LZW; init: TIFFInitLZW),
(name:'PackBits'; scheme: COMPRESSION_PACKBITS; init: TIFFInitPackBits),
(name:'ThunderScan'; scheme: COMPRESSION_THUNDERSCAN; init: TIFFInitThunderScan),
(name:'NeXT'; scheme: COMPRESSION_NEXT; init: TIFFInitNeXT),
(name:'JPEG'; scheme: COMPRESSION_JPEG; init: TIFFInitJPEG),
(name:'Old-style JPEG'; scheme: COMPRESSION_OJPEG; init: NotConfigured),
(name:'CCITT RLE'; scheme: COMPRESSION_CCITTRLE; init: TIFFInitCCITTRLE),
(name:'CCITT RLE/W'; scheme: COMPRESSION_CCITTRLEW; init: TIFFInitCCITTRLEW),
(name:'CCITT Group 3'; scheme: COMPRESSION_CCITTFAX3; init: TIFFInitCCITTFax3),
(name:'CCITT Group 4'; scheme: COMPRESSION_CCITTFAX4; init: TIFFInitCCITTFax4),
(name:'ISO JBIG'; scheme: COMPRESSION_JBIG; init: NotConfigured),
(name:'Deflate'; scheme: COMPRESSION_DEFLATE; init: TIFFInitZIP),
(name:'AdobeDeflate'; scheme: COMPRESSION_ADOBE_DEFLATE; init: TIFFInitZIP),
(name:'PixarLog'; scheme: COMPRESSION_PIXARLOG; init: TIFFInitPixarLog),
(name:'SGILog'; scheme: COMPRESSION_SGILOG; init: TIFFInitSGILog),
(name:'SGILog24'; scheme: COMPRESSION_SGILOG24; init: TIFFInitSGILog),
(name:nil; scheme:0; init:nil));}
Page created in 0.011 seconds with 19 queries.