Debian Codegraph @

PerlMagick/t/zlib/write.t

raw
1 #!/usr/bin/perl
2 #
3 # Test writing files using zlib-based compression
4 #
5 # Contributed by Bob Friesenhahn <[email protected]>
6 #
7 BEGIN { $| = 1; $test=1; print "1..1\n"; }
8 END {print "not ok $test\n" unless $loaded;}
9
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 writing Zip-compressed MIFF
19 #
20
21 testReadWrite( 'input.miff',
22 'output.miff',
23 q/compression=>'Zip'/,
24 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' );
25
26 $test = 0; # Quench PERL complaint
27