You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
708 B
31 lines
708 B
4 months ago
|
#!/usr/bin/perl
|
||
|
#
|
||
|
# Test reading an image which uses BZip compression
|
||
|
#
|
||
|
# Contributed by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||
|
#
|
||
|
|
||
|
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' );
|
||
|
|