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
July 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.07.10 12:15 "How modify", by Robert Zhang
2006.07.10 12:35 "Re: How modify", by Joris Van Damme
2006.07.10 12:39 "Re: How modify", by Robert Zhang
2006.07.10 13:03 "Re: How modify", by Joris Van Damme
2006.07.10 13:45 "Re: How modify", by Gerben Vos

2006.07.10 12:35 "Re: How modify", by Joris Van Damme

Robert Zhang wrote:
> I have a large number of TIF images where XResolution are
> 204 and YResolution are 98.  Image Height = 1136 and Image Width =
> 1728.  Now ,How modify tiff  to  the resolution to 204x196 and
> height is 2272 and width  is 1728 ???.

This is beyond the functionality of LibTiff. LibTiff is a codec, which
means it is able to both decode and encode an TIFF file. That does not
include resizing capabilities. So use LibTiff to decode the file to a
raster or scanline stream or whatever, add resizing from your own hand
or from another library, and use LibTiff again to encode the results to
a new TIFF file.

Best regards,

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