| 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 |
Thread2006.12.20 01:22 "Re: Order of Image IFD and Strip Data", by Frank WarmerdamAnurag Singh wrote: > > I am making copying of tiff image, but i got to know that libtiff > modified offset of image IFD. > Actually in the source image image data (Strip Data) is first and then > all the tags. > But In the final copy, tag is first and strip data is second. > > I know that there's no problem in order, and ofcourse my tiff image is > able to open & working fine. but i want to make exact copy. > > So, I want to know that is there any provision in libtiff that anyone > can specified the above order. Anurag, If you want an exact copy then skip libtiff, and just copy the file directly. There are some things you can do with libtiff to try and influence the order in which things are written, and by default it will write the image data starting at byte 8, and put the tags and directory after the image data. (based on a test with tiffcp anyways). But basically Joris is right, fiddling about with ordering dependencies is a short road to misery. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org |
|||||||