1
0
Fork 0
forked from josch/img2pdf

test.sh: account for variations in output of identify --verbose

This commit is contained in:
James R. Barlow 2020-05-24 16:16:15 -07:00 committed by Johannes 'josch' Schauer
parent c49a098e7b
commit c6d04acc4b
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

52
test.sh
View file

@ -882,8 +882,8 @@ identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Mime type: image/tiff
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Type: TrueColor$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Type: TrueColor$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Depth: 32/8-bit$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Depth: 32/\(8\|16\)-bit$' # imagemagick may produce a Depth: 32/8-bit or 32/16-bit image
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ Compression: Zip$'
identify -verbose "$tempdir/float.tiff" | grep --quiet '^ quantum:format: floating-point$' identify -verbose "$tempdir/float.tiff" | grep --quiet '^ quantum:format: floating-point$'
@ -912,7 +912,7 @@ identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Mime type: image/tiff
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Colorspace: CMYK$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Colorspace: CMYK$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Type: ColorSeparation$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Type: ColorSeparation$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Depth: 8-bit$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Depth: 8-bit$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/cmyk8.tiff" | grep --quiet '^ Compression: Zip$'
@ -959,7 +959,7 @@ identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Mime type: image/tif
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Colorspace: CMYK$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Colorspace: CMYK$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Type: ColorSeparation$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Type: ColorSeparation$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Depth: 16-bit$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Depth: 16-bit$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/cmyk16.tiff" | grep --quiet '^ Compression: Zip$'
@ -989,7 +989,7 @@ identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Mime type: image/tif
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Type: TrueColor$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Type: TrueColor$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Depth: 8-bit$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Depth: 8-bit$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/normal.tiff" | grep --quiet '^ Compression: Zip$'
@ -1031,7 +1031,7 @@ identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Mime type: image/tif
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Type: TrueColorAlpha$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Type: TrueColorAlpha$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Depth: 8-bit$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Depth: 8-bit$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/alpha8.tiff" | grep --quiet '^ Compression: Zip$'
@ -1060,7 +1060,7 @@ identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Mime type: image/ti
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Type: TrueColorAlpha$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Type: TrueColorAlpha$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Depth: 16-bit$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Depth: 16-bit$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/alpha16.tiff" | grep --quiet '^ Compression: Zip$'
@ -1089,7 +1089,7 @@ identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Mime type: image/tiff
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Colorspace: Gray$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Colorspace: Gray$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Type: Bilevel$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Type: Bilevel$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Depth: 1-bit$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Depth: 1-bit$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/gray1.tiff" | grep --quiet '^ Compression: Zip$'
@ -1133,7 +1133,7 @@ for i in 2 4 8; do
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Colorspace: Gray$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Colorspace: Gray$'
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Type: Grayscale$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Type: Grayscale$'
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet "^ Depth: $i-bit$" identify -verbose "$tempdir/gray$i.tiff" | grep --quiet "^ Depth: $i-bit$"
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/gray$i.tiff" | grep --quiet '^ Compression: Zip$'
@ -1177,7 +1177,7 @@ identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Mime type: image/tif
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Colorspace: Gray$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Colorspace: Gray$'
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Type: Grayscale$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Type: Grayscale$'
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/gray16.tiff" | grep --quiet "^ Depth: 16-bit$" identify -verbose "$tempdir/gray16.tiff" | grep --quiet "^ Depth: 16-bit$"
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/gray16.tiff" | grep --quiet '^ Compression: Zip$'
@ -1206,7 +1206,7 @@ identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Mime type: ima
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Type: TrueColor$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Type: TrueColor$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Depth: 8-bit$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Depth: 8-bit$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/multipage.tiff[0]" | grep --quiet '^ Compression: Zip$'
@ -1219,7 +1219,7 @@ identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Mime type: ima
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Type: TrueColor$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Type: TrueColor$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Endiann\?ess: LSB$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Depth: 8-bit$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Depth: 8-bit$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Page geometry: 60x60+0+0$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Page geometry: 60x60+0+0$'
identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Compression: Zip$' identify -verbose "$tempdir/multipage.tiff[1]" | grep --quiet '^ Compression: Zip$'
@ -1274,7 +1274,7 @@ for i in 1 2 4 8; do
identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Type: Palette$' identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Type: Palette$'
identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/palette$i.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
if [ "$i" -eq 8 ]; then if [ "$i" -eq 8 ]; then
identify -verbose "$tempdir/palette$i.tiff" | grep --quiet "^ Depth: 8-bit$" identify -verbose "$tempdir/palette$i.tiff" | grep --quiet "^ Depth: 8-bit$"
else else
@ -1333,7 +1333,7 @@ for i in 12 14 16; do
identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$' identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Geometry: 60x60+0+0$'
identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Colorspace: sRGB$' identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Colorspace: sRGB$'
identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Type: TrueColor$' identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Type: TrueColor$'
identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Endianess: LSB$' identify -verbose "$tempdir/normal$i.tiff" | grep --quiet '^ Endiann\?ess: LSB$'
if [ $i -eq 16 ]; then if [ $i -eq 16 ]; then
identify -verbose "$tempdir/normal$i.tiff" | grep --quiet "^ Depth: $i-bit$" identify -verbose "$tempdir/normal$i.tiff" | grep --quiet "^ Depth: $i-bit$"
else else
@ -1367,9 +1367,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Photometric Interpretation: min-
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb'
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: LSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: LSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white'
@ -1409,9 +1409,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Photometric Interpretation: min-
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb'
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: MSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: MSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: msb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: msb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white'
@ -1451,9 +1451,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Photometric Interpretation: min-
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: lsb-to-msb' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: lsb-to-msb'
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: MSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: MSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: msb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: msb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white'
@ -1498,9 +1498,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Photometric Interpretation: min-
#tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb' #tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb'
#tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' #tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: LSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: LSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-black' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-black'
@ -1546,9 +1546,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Photometric Interpretation: min-
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb' && exit 1 tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb' && exit 1
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' && exit 1 tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' && exit 1
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: LSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: LSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white'
@ -1591,9 +1591,9 @@ tiffinfo "$tempdir/group4.tiff" | grep --quiet 'FillOrder: msb-to-lsb'
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1' tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Samples/Pixel: 1'
tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Rows/Strip:' && exit 1 tiffinfo "$tempdir/group4.tiff" | grep --quiet 'Rows/Strip:' && exit 1
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Type: Bilevel'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endianess: LSB' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Endian*ess: LSB'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Depth: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'gray: 1-bit' identify -verbose "$tempdir/group4.tiff" | grep --quiet '[gG]ray: 1-bit'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'Compression: Group4'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:endian: lsb'
identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white' identify -verbose "$tempdir/group4.tiff" | grep --quiet 'tiff:photometric: min-is-white'