1 #!/usr/bin/perl 2 # 3 # Test reading an image which uses Zip compression 4 # 5 # Contributed by Bob Friesenhahn <bfriesen (at] simple.dallas.tx.us> 6 # 7 8 BEGIN { $| = 1; $test=1; print "1..2\n"; } 9 END {print "not ok $test\n" unless $loaded;} 10 use Image::Magick; 11 $loaded=1; 12 13 require 't/subroutines.pl'; 14 15 chdir 't/zlib' || die 'Cd failed'; 16 17 # 18 # 1) Test reading Zip compressed MIFF 19 # 20 testRead( 'input.miff', 21 'f7b3db46d6f696ea8392f0ad0be945dd502a806e2c1e9c082efef517191758f7' ); 22 23 # 24 # 3) Test reading Zip stream-compressed MIFF (.gz extension) 25 # 26 print("Reading Zip stream-compressed MIFF (.gz extension) ...\n"); 27 ++$test; 28 testRead( 'input.miff.gz', 29 'f7b3db46d6f696ea8392f0ad0be945dd502a806e2c1e9c082efef517191758f7' ); 30