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
November 2009

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

2009.11.02 17:51 "Tiffcrop test suite", by Richard Nolde
2009.11.02 21:59 "Tiffcrop test suite and logluv issues", by Richard Nolde
2009.11.02 23:02 "Re: Tiffcrop test suite and logluv issues", by Toby Thain
2009.11.03 10:14 "Re: Tiffcrop test suite and logluv issues", by Juergen Buchmueller
2009.11.03 12:16 "Re: Tiffcrop test suite and logluv issues", by Toby Thain
2009.11.03 13:23 "What are the LibTIFF v4.0 release plans?", by Steve Eddins
2009.11.03 14:37 "Re: What are the LibTIFF v4.0 release plans?", by Bob Friesenhahn
2009.11.03 15:00 "Re: What are the LibTIFF v4.0 release plans?", by Steve Eddins
2009.11.04 02:30 "Re: What are the LibTIFF v4.0 release plans?", by Jay Berkenbilt
2009.11.03 20:46 "Re: Tiffcrop test suite and logluv issues", by Daniel Mccoy
2009.11.04 08:45 "Re: Tiffcrop test suite and logluv issues", by Juergen Buchmueller
2009.11.04 15:49 "Re: Tiffcrop test suite and logluv issues", by Toby Thain

2009.11.02 17:51 "Tiffcrop test suite", by Richard Nolde

    The CVS Head version includes the test suite commands for tiffcrop.  
Two of the files in the set currently fail for the extract option 
because the image is smaller than the dimensions of the requested 
region, eg 100x100 pixels.  The image dimensions for the files are 
listed below.  Changing the -X 100 -Y 100 arguments in tiffcrop-extract* 
to -X 60 -Y 60 would allow all but the logluv-3c-16b.tif image to pass. 
The libtiffpic testsuite already contains two logluv images 
libtiffpic/off_luv24.tif and libtiffpic/off_luv32.tif.  My testing with 
the first produces a mostly white output image with two yellow squares 
whereas the second one works fine.  Tiffcp does the same so I suspect 
the issue is in handling the logluv24 compression in the copytags 
logic.  I'll see if I can look into this today but I don't know much 
about logluv.

#!/bin/sh
# Generated file, master is Makefile.am
. ${srcdir:-.}/common.sh
infile="$srcdir/images/minisblack-2c-8b-alpha.tiff"
outfile="o-tiffcrop-extract-minisblack-2c-8b-alpha.tiff"
f_test_convert "$TIFFCROP -U px -E top -X 100 -Y 100" $infile $outfile
f_tiffinfo_validate $outfile
tiffcrop-extract-minisblack-2c-8b-alpha.sh

images/logluv-3c-16b.tiff
   Image Width: 1 Image Length: 1
images/minisblack-1c-16b.tiff
   Image Width: 157 Image Length: 151
images/minisblack-1c-8b.tiff
   Image Width: 157 Image Length: 151
images/minisblack-2c-8b-alpha.tiff
   Image Width: 64 Image Length: 64
images/miniswhite-1c-1b.tiff
   Image Width: 157 Image Length: 151
images/palette-1c-1b.tiff
   Image Width: 157 Image Length: 151
images/palette-1c-4b.tiff
   Image Width: 157 Image Length: 151
images/palette-1c-8b.tiff
   Image Width: 157 Image Length: 151
images/rgb-3c-16b.tiff
   Image Width: 157 Image Length: 151
images/rgb-3c-8b.tiff
   Image Width: 157 Image Length: 151