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
September 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.09.26 04:45 "Tiffcrop beta available for testing", by Richard Nolde
2006.09.26 04:55 "Re: Tiffcrop beta available for testing", by Bob Friesenhahn
2006.09.26 05:17 "Re: Tiffcrop beta available for testing", by Joris Van Damme
2006.09.26 05:43 "Re: Tiffcrop beta available for testing", by Joris Van Damme
2006.09.27 04:21 "YCbCr data in tiffcrop", by Richard Nolde
2006.09.27 12:50 "Re: YCbCr data in tiffcrop", by Joris Van Damme

2006.09.26 04:45 "Tiffcrop beta available for testing", by Richard Nolde

Tiff list readers,
I have a working version of a new utility called tiffcrop that is based 
on tiffcp.  It adds cropping by specifying margins, fixed sized regions, 
and zones that are portions of the image, ie 1/4, 1/2, etc from a 
specified reference edge.  I've added rotation by 90,180, or 270 degrees 
and mirroring horizontally or vertically.  All of these can be applied 
to the entire image or just a crop region. I have tested with bilevel, 8 
bit grayscale, 8 bit palette, 8 bit RGB, 8 bit RGBA images successfully. 
The only image that I can't seem to handle is an 8 bit YCbCr with 3 
samples per pixel from the libtiff test pics set, dscf0013.tif.

Does anyone have any information on how YCbCr images are handled by the 
read[Separate/Contig][Strips/Tiles]IntoBuffer routines in tiffcp that 
would be different for YCbCr data rather than RGBA data?

Since the source file is too large to send to the Tiff list, I can send 
the source file or a diff against tiffcp.c to anyone who is interested 
in testing the code. The source is 96 K and the diff against tiffcp.c in 
the 3.8.2 distribution is 50 K. Just send me your email address.

Richard Nolde