diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
commit | 6e629f983aa205c3eaa5f339f1c71bb5e7938049 (patch) | |
tree | a89f594443ac2330138f0bd0f19ee59135c2213f /test/tiff-flate-lzw-roundtrip.test | |
parent | ec52f41aabc9de9aac203c2f462252e403c7374a (diff) | |
download | netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.gz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.xz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.zip |
Promote Development to Advanced to make Release 10.97.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4222 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/tiff-flate-lzw-roundtrip.test')
-rwxr-xr-x | test/tiff-flate-lzw-roundtrip.test | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/tiff-flate-lzw-roundtrip.test b/test/tiff-flate-lzw-roundtrip.test index 59d4c483..f62c6767 100755 --- a/test/tiff-flate-lzw-roundtrip.test +++ b/test/tiff-flate-lzw-roundtrip.test @@ -8,11 +8,11 @@ ## features. tmpdir=${tmpdir:-/tmp} - tartan_ppm=${tmpdir}/testimg40.ppm # Make a test image with reduced colors which compresses better -# cksum is 1079668603 10237 + +echo "Test 1. Should print 1079668603 10237 six times" ppmpat -tartan --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 71 48 | \ tee ${tartan_ppm} | cksum @@ -28,7 +28,9 @@ pamtotiff -adobeflate ${tartan_ppm} | tifftopnm | cksum pamtotiff -lzw ${tartan_ppm} | tifftopnm | cksum pamtotiff -lzw -predictor=1 ${tartan_ppm} | tifftopnm | cksum -# PBM image: test flate compression -pamtotiff -flate testgrid.pbm | tifftopnm | cksum - rm ${tartan_ppm} + +echo "Test 2. Should print 281226646 481" + +# PBM image: test flate compression +pamtotiff -flate maze.pbm | tifftopnm | cksum |