test: add test for single-strip OJPEG file without RowsPerStrip tag (like in CR2 files)
This commit is contained in:
parent
0a8245b7b8
commit
8192df23fa
@ -107,7 +107,8 @@ set(TESTSCRIPTS
|
||||
tiff2rgba-rgb-3c-8b.sh
|
||||
tiff2rgba-quad-tile.jpg.sh
|
||||
tiff2rgba-ojpeg_zackthecat_subsamp22_single_strip.sh
|
||||
tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh)
|
||||
tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh
|
||||
tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh)
|
||||
|
||||
# This list should contain all of the TIFF files in the 'images'
|
||||
# subdirectory which are intended to be used as input images for
|
||||
@ -127,7 +128,8 @@ set(TIFFIMAGES
|
||||
images/quad-lzw-compat.tiff
|
||||
images/lzw-single-strip.tiff
|
||||
images/ojpeg_zackthecat_subsamp22_single_strip.tiff
|
||||
images/ojpeg_chewey_subsamp21_multi_strip.tiff)
|
||||
images/ojpeg_chewey_subsamp21_multi_strip.tiff
|
||||
images/ojpeg_single_strip_no_rowsperstrip.tiff)
|
||||
|
||||
set(BMPIMAGES
|
||||
images/palette-1c-8b.bmp
|
||||
|
@ -57,7 +57,8 @@ JPEG_DEPENDENT_CHECK_PROG=raw_decode
|
||||
JPEG_DEPENDENT_TESTSCRIPTS=\
|
||||
tiff2rgba-quad-tile.jpg.sh \
|
||||
tiff2rgba-ojpeg_zackthecat_subsamp22_single_strip.sh \
|
||||
tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh
|
||||
tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh \
|
||||
tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh
|
||||
|
||||
else
|
||||
JPEG_DEPENDENT_CHECK_PROG=
|
||||
@ -176,7 +177,8 @@ TIFFIMAGES = \
|
||||
images/quad-lzw-compat.tiff \
|
||||
images/lzw-single-strip.tiff \
|
||||
images/ojpeg_zackthecat_subsamp22_single_strip.tiff \
|
||||
images/ojpeg_chewey_subsamp21_multi_strip.tiff
|
||||
images/ojpeg_chewey_subsamp21_multi_strip.tiff \
|
||||
images/ojpeg_single_strip_no_rowsperstrip.tiff
|
||||
|
||||
PNMIMAGES = \
|
||||
images/minisblack-1c-8b.pgm \
|
||||
|
BIN
test/images/ojpeg_single_strip_no_rowsperstrip.tiff
Normal file
BIN
test/images/ojpeg_single_strip_no_rowsperstrip.tiff
Normal file
Binary file not shown.
7
test/tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh
Executable file
7
test/tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Generated file, master is Makefile.am
|
||||
. ${srcdir:-.}/common.sh
|
||||
infile="$srcdir/images/ojpeg_single_strip_no_rowsperstrip.tiff"
|
||||
outfile="o-tiff2rgba-ojpeg_single_strip_no_rowsperstrip.tiff"
|
||||
f_test_convert "$TIFF2RGBA" $infile $outfile
|
||||
f_tiffinfo_validate $outfile
|
Loading…
Reference in New Issue
Block a user