AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.12.16 10:14 "Order of Image IFD and Strip Data", by Anurag Singh
2006.12.19 13:24 "Re: Order of Image IFD and Strip Data", by Anurag Singh
2006.12.19 13:59 "Re: Order of Image IFD and Strip Data", by Joris Van Damme
2006.12.19 15:48 "Re: Order of Image IFD and Strip Data", by Gerben Vos
2006.12.20 01:22 "Re: Order of Image IFD and Strip Data", by Frank Warmerdam
2006.12.22 16:37 "Re: Order of Image IFD and Strip Data (Joris)", by Priyanshu Sharma
2006.12.23 06:01 "Re: Order of Image IFD and Strip Data (Joris)", by Anurag Singh
2006.12.23 15:05 "Re: Order of Image IFD and Strip Data (Joris)", by Priyanshu Sharma

2006.12.20 01:22 "Re: Order of Image IFD and Strip Data", by Frank Warmerdam

Anurag 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