AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.06.13 04:19 "[Tiff] Libtiff and Delphi 5", by Samantha Priyadarshana
2005.06.13 11:07 "Re: [Tiff] Libtiff and Delphi 5", by Joris Van Damme

2005.06.13 11:07 "Re: [Tiff] Libtiff and Delphi 5", by Joris Van Damme

Samantha,

I want to know whether there is a wrapper that can be used to open 'tiff' files in Delphi 5.

Not to my knowledge. The technical problem with Delphi 5, is that it does not natively support the variable arguments in function like TIFFGetField and such. There are workarounds possible, but they are tiresome, and seeing that Delphi 5 is quite old now...

I also want to know if libtiff can open "old style JPEG-in-TIFF".

I disabled ojpeg support in current LibTiffDelphi. This disabled state is also the default state of ojpeg support in LibTiff.

I've since tried enabling it, but my very first test images already, LibTiff ended up reporting access violations and the like. I've found out that the ojpeg module in LibTiff is badly maintained, for pretty much the same reason that I do not offer a Delphi 5 LibTiff: too much work for too little gain.

So, for all practical purposes, it seems that the answer to this question is simply 'no'.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html