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
January 2008

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!



2008.01.29 04:17 "Problems with tiffcrop", by Richard Nolde

Beppe,
   I have downloaded the latest CVS and it appears that Andrey made some 
changes to silence compiler warnings that might not have been benign.  I 
have isolated the problem to the margin calculations and/or the -U px 
options.  You will need the latest CVS once I am done or I can send you 
the raw source file and you can insert it into your build tree and link 
with whichever version of libtiff you are using.

  You should be able to test the version of libtiff that you have with 
the following tiffcrop -U in -X 8.0 -Y 6.0  Inputfile.tif Outfile.tif  
to get a 4" x 6" section from the top left of the image. There is 
something wrong with the -U px option that is not doing the calculation 
correctly and/or there is a rounding error introduced by Andrey's 
modifications.  I will let you know when I figure it out.

Richard