#!/usr/bin/perl # # Test reading an image which uses BZip compression # # Contributed by Bob Friesenhahn # BEGIN { $| = 1; $test=1; print "1..2\n"; } END {print "not ok $test\n" unless $loaded;} use Image::Magick; $loaded=1; require 't/subroutines.pl'; chdir 't/bzlib' || die 'Cd failed'; # # Test reading BZip compressed MIFF # testRead( 'input.miff', 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' ); # # 2) Test reading BZip stream-compressed MIFF (.bz2 extension) # print("Reading BZip stream-compressed MIFF (.bz2 extension) ...\n"); ++$test; testRead( 'input.miff.bz2', 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' );