Add libtiffpic test suite
Two tests are disabled, both related to tiles, since they do not follow the fully released spec themselves but incidentally decode with libtiff anyways. The two images (`cramps-tile.tif`, `quad-tile.tif`) are tiled layout which libtiff detects by the presence of TileWidth/TileHeight tags. We would detect that by chunks encoded via TileOffsets and TileByteLengths tags. However the images encoded their chunk data into the StripOffsets tag; additionally they contain a RowsPerStrip value anyways. Tests disabled as this is to be resolved in a separate issue (#338) with a decision on treatment of this situation (strictness setting or copying libtiff, also error late for mismatched lengths).
This commit is contained in:
1 parent
e41159ce05
commit
701fcc46b8
75 files changed
+472
No files matched your search
@@ -0,0 +1,40 @@
|
||||
/README.txt/1.1/Sun Jan 30 23:03:00 2005//
|
||||
/genimages/1.1/Mon Jan 31 02:49:00 2005//
|
||||
/summary.txt/1.1/Mon Jan 31 02:49:00 2005//
|
||||
/flower-minisblack-24.tif/1.2/Sun Nov 13 17:25:25 2005/-kb/
|
||||
/flower-rgb-contig-24.tif/1.2/Sun Nov 13 17:22:46 2005/-kb/
|
||||
/flower-rgb-planar-24.tif/1.2/Sun Nov 13 17:20:24 2005/-kb/
|
||||
/flower-minisblack-02.tif/1.1/Thu Dec 29 22:08:43 2005/-kb/
|
||||
/flower-minisblack-04.tif/1.1/Thu Dec 29 22:08:43 2005/-kb/
|
||||
/flower-minisblack-06.tif/1.1/Thu Dec 29 22:08:43 2005/-kb/
|
||||
/flower-minisblack-08.tif/1.1/Thu Dec 29 22:08:44 2005/-kb/
|
||||
/flower-minisblack-10.tif/1.1/Thu Dec 29 22:08:44 2005/-kb/
|
||||
/flower-minisblack-12.tif/1.1/Thu Dec 29 22:08:45 2005/-kb/
|
||||
/flower-minisblack-14.tif/1.1/Thu Dec 29 22:08:45 2005/-kb/
|
||||
/flower-minisblack-16.tif/1.1/Thu Dec 29 22:08:46 2005/-kb/
|
||||
/flower-minisblack-32.tif/1.1/Thu Dec 29 22:08:47 2005/-kb/
|
||||
/flower-palette-02.tif/1.1/Thu Dec 29 22:08:47 2005/-kb/
|
||||
/flower-palette-04.tif/1.1/Thu Dec 29 22:08:47 2005/-kb/
|
||||
/flower-palette-08.tif/1.1/Thu Dec 29 22:08:47 2005/-kb/
|
||||
/flower-palette-16.tif/1.1/Thu Dec 29 22:08:49 2005/-kb/
|
||||
/flower-rgb-contig-02.tif/1.1/Thu Dec 29 22:08:49 2005/-kb/
|
||||
/flower-rgb-contig-04.tif/1.1/Thu Dec 29 22:08:49 2005/-kb/
|
||||
/flower-rgb-contig-08.tif/1.1/Thu Dec 29 22:08:50 2005/-kb/
|
||||
/flower-rgb-contig-10.tif/1.1/Thu Dec 29 22:08:51 2005/-kb/
|
||||
/flower-rgb-contig-12.tif/1.1/Thu Dec 29 22:08:52 2005/-kb/
|
||||
/flower-rgb-contig-14.tif/1.1/Thu Dec 29 22:08:53 2005/-kb/
|
||||
/flower-rgb-contig-16.tif/1.1/Thu Dec 29 22:08:55 2005/-kb/
|
||||
/flower-rgb-contig-32.tif/1.1/Thu Dec 29 22:08:58 2005/-kb/
|
||||
/flower-rgb-planar-02.tif/1.1/Thu Dec 29 22:08:58 2005/-kb/
|
||||
/flower-rgb-planar-04.tif/1.1/Thu Dec 29 22:08:58 2005/-kb/
|
||||
/flower-rgb-planar-08.tif/1.1/Thu Dec 29 22:08:59 2005/-kb/
|
||||
/flower-rgb-planar-10.tif/1.1/Thu Dec 29 22:09:00 2005/-kb/
|
||||
/flower-rgb-planar-12.tif/1.1/Thu Dec 29 22:09:02 2005/-kb/
|
||||
/flower-rgb-planar-14.tif/1.1/Thu Dec 29 22:09:02 2005/-kb/
|
||||
/flower-rgb-planar-16.tif/1.1/Thu Dec 29 22:09:04 2005/-kb/
|
||||
/flower-rgb-planar-32.tif/1.1/Thu Dec 29 22:09:08 2005/-kb/
|
||||
/flower-separated-contig-08.tif/1.1/Thu Dec 29 22:09:10 2005/-kb/
|
||||
/flower-separated-contig-16.tif/1.1/Thu Dec 29 22:09:12 2005/-kb/
|
||||
/flower-separated-planar-08.tif/1.1/Thu Dec 29 22:09:12 2005/-kb/
|
||||
/flower-separated-planar-16.tif/1.1/Thu Dec 29 22:09:14 2005/-kb/
|
||||
D
|
||||
@@ -0,0 +1 @@
|
||||
libtiffpic/depth
|
||||
@@ -0,0 +1 @@
|
||||
:pserver:dron@cvs.maptools.org:/cvs/maptools/cvsroot
|
||||
@@ -0,0 +1,9 @@
|
||||
These sample TIFF image files are prepared by Bob Friesenhahn
|
||||
<bfriesen@simple.dallas.tx.us> using a development version of
|
||||
GraphicsMagick 1.2.
|
||||
|
||||
See the file summary.txt for a description of the images.
|
||||
|
||||
These files are hereby placed in the public domain.
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
+73
@@ -0,0 +1,73 @@
|
||||
#!/usr/bin/ksh
|
||||
|
||||
GM=/scratch/bfriesen/build/GraphicsMagick-32-static/utilities/gm
|
||||
GM_STD_OPT="-compress none"
|
||||
MASTER_IMAGE_ORIGINAL='/home/bfriesen/images/david/112_1201-flowers.jpg'
|
||||
MASTER_IMAGE_GRAY=gray.miff
|
||||
MASTER_IMAGE_RGB=rgb.miff
|
||||
MASTER_IMAGE_CMYK=cmyk.miff
|
||||
COLUMNS=73
|
||||
ROWS=43
|
||||
|
||||
GRAY_DEPTHS='2 4 6 8 10 12 14 16 24 32'
|
||||
PSEUDO_DEPTHS='2 4 8 16'
|
||||
TRUE_COLORS='2 4 8 10 12 14 16 24 32'
|
||||
CMYK_COLORS='8 16'
|
||||
|
||||
SUMMARY=summary.txt
|
||||
echo > $SUMMARY
|
||||
|
||||
$GM convert $MASTER_IMAGE_ORIGINAL +profile '*' -depth 32 -type Grayscale -density 72x72 -geometry "${COLUMNS}x${ROWS}" $MASTER_IMAGE_GRAY
|
||||
$GM convert $MASTER_IMAGE_ORIGINAL +profile '*' -depth 32 -density 72x72 -geometry "${COLUMNS}x${ROWS}" $MASTER_IMAGE_RGB
|
||||
$GM convert $MASTER_IMAGE_ORIGINAL +profile '*' -colorspace cmyk -depth 32 -density 72x72 -geometry "${COLUMNS}x${ROWS}" $MASTER_IMAGE_CMYK
|
||||
|
||||
# Gray images
|
||||
for depth in $GRAY_DEPTHS
|
||||
do
|
||||
outname=`printf "flower-minisblack-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} $depth-bit minisblack gray image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_GRAY $GM_STD_OPT -type Grayscale -define tiff:bits-per-sample=$depth $outname
|
||||
done
|
||||
|
||||
# Colormapped images
|
||||
for depth in $PSEUDO_DEPTHS
|
||||
do
|
||||
colors=`echo "2^${depth}" | bc`
|
||||
outname=`printf "flower-palette-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} ${colors}-entry colormapped image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_RGB $GM_STD_OPT -colors $colors $outname
|
||||
done
|
||||
|
||||
# Truecolor images
|
||||
for depth in $TRUE_COLORS
|
||||
do
|
||||
outname=`printf "flower-rgb-contig-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} $depth-bit contiguous RGB image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_RGB $GM_STD_OPT -type TrueColor -define tiff:bits-per-sample=$depth $outname
|
||||
done
|
||||
|
||||
# Truecolor planar images
|
||||
for depth in $TRUE_COLORS
|
||||
do
|
||||
outname=`printf "flower-rgb-planar-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} $depth-bit seperated RGB image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_RGB $GM_STD_OPT -type TrueColor -interlace plane -define tiff:bits-per-sample=$depth $outname
|
||||
done
|
||||
|
||||
# CMYK images
|
||||
for depth in $CMYK_COLORS
|
||||
do
|
||||
outname=`printf "flower-separated-contig-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} $depth-bit contiguous CMYK image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_RGB $GM_STD_OPT -type ColorSeparation -define tiff:bits-per-sample=$depth $outname
|
||||
done
|
||||
|
||||
# CMYK planar images
|
||||
for depth in $CMYK_COLORS
|
||||
do
|
||||
outname=`printf "flower-separated-planar-%02d.tif" $depth`
|
||||
echo "$outname\t${COLUMNS}x${ROWS} $depth-bit separated CMYK image" >> $SUMMARY
|
||||
$GM convert -verbose $MASTER_IMAGE_RGB $GM_STD_OPT -type ColorSeparation -interlace plane -define tiff:bits-per-sample=$depth $outname
|
||||
done
|
||||
|
||||
rm -f $MASTER_IMAGE_GRAY $MASTER_IMAGE_RGB $MASTER_IMAGE_CMYK
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
flower-minisblack-02.tif 73x43 2-bit minisblack gray image
|
||||
flower-minisblack-04.tif 73x43 4-bit minisblack gray image
|
||||
flower-minisblack-06.tif 73x43 6-bit minisblack gray image
|
||||
flower-minisblack-08.tif 73x43 8-bit minisblack gray image
|
||||
flower-minisblack-10.tif 73x43 10-bit minisblack gray image
|
||||
flower-minisblack-12.tif 73x43 12-bit minisblack gray image
|
||||
flower-minisblack-14.tif 73x43 14-bit minisblack gray image
|
||||
flower-minisblack-16.tif 73x43 16-bit minisblack gray image
|
||||
flower-minisblack-24.tif 73x43 24-bit minisblack gray image
|
||||
flower-minisblack-32.tif 73x43 32-bit minisblack gray image
|
||||
flower-palette-02.tif 73x43 4-entry colormapped image
|
||||
flower-palette-04.tif 73x43 16-entry colormapped image
|
||||
flower-palette-08.tif 73x43 256-entry colormapped image
|
||||
flower-palette-16.tif 73x43 65536-entry colormapped image
|
||||
flower-rgb-contig-02.tif 73x43 2-bit contiguous RGB image
|
||||
flower-rgb-contig-04.tif 73x43 4-bit contiguous RGB image
|
||||
flower-rgb-contig-08.tif 73x43 8-bit contiguous RGB image
|
||||
flower-rgb-contig-10.tif 73x43 10-bit contiguous RGB image
|
||||
flower-rgb-contig-12.tif 73x43 12-bit contiguous RGB image
|
||||
flower-rgb-contig-14.tif 73x43 14-bit contiguous RGB image
|
||||
flower-rgb-contig-16.tif 73x43 16-bit contiguous RGB image
|
||||
flower-rgb-contig-24.tif 73x43 24-bit contiguous RGB image
|
||||
flower-rgb-contig-32.tif 73x43 32-bit contiguous RGB image
|
||||
flower-rgb-planar-02.tif 73x43 2-bit seperated RGB image
|
||||
flower-rgb-planar-04.tif 73x43 4-bit seperated RGB image
|
||||
flower-rgb-planar-08.tif 73x43 8-bit seperated RGB image
|
||||
flower-rgb-planar-10.tif 73x43 10-bit seperated RGB image
|
||||
flower-rgb-planar-12.tif 73x43 12-bit seperated RGB image
|
||||
flower-rgb-planar-14.tif 73x43 14-bit seperated RGB image
|
||||
flower-rgb-planar-16.tif 73x43 16-bit seperated RGB image
|
||||
flower-rgb-planar-24.tif 73x43 24-bit seperated RGB image
|
||||
flower-rgb-planar-32.tif 73x43 32-bit seperated RGB image
|
||||
flower-separated-contig-08.tif 73x43 8-bit contiguous CMYK image
|
||||
flower-separated-contig-16.tif 73x43 16-bit contiguous CMYK image
|
||||
flower-separated-planar-08.tif 73x43 8-bit separated CMYK image
|
||||
flower-separated-planar-16.tif 73x43 16-bit separated CMYK image
|
||||
Reference in new issue
Block a user