| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.12.07 22:16 "Re: Having problems adding IPTC to a TIFF", by Chris CoxAt 9:45 PM +0100 12/7/04, Joris wrote: > > Well maybe the first thing to do would be to see what Photoshop IS doing. > > Since Adobe is in charge of the TIFF specs, if they're writing IPTC as a > > LONG array, then THAT IS the spec, even if it's conceptually incorrect. If > > they're writing UNDEFINED of whatever, then libtiff should definitely > > follow. > > Wrong. If Adobe breaks the TIFF spec, that is a different thing from Adobe > changing the TIFF spec. It isn't breaking the spec at all. It isn't 100% correct - but the size of the datablock is still correct and it is still readable. IF the contents of the block were defined in the TIFF spec. then they would have to be byte swapped according to the TIFF spec. This is similar to the ICC profile block (and others)- it is handled independently of the TIFF byte order. You cannot blindly byte swap blocks based on their stated size, you have to swap based on knowledge of their contents. Chris |
|||||||