2
# Copyright (C) 2003 GraphicsMagick Group
3
# Copyright (C) 2002 ImageMagick Studio
4
# Copyright (C) 1991-1999 E. I. du Pont de Nemours and Company
6
# This program is covered by multiple licenses, which are described in
7
# Copyright.txt. You should have received a copy of Copyright.txt with this
8
# package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
11
# Test reading an image which uses BZip compression
13
# Contributed by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
16
BEGIN { $| = 1; $test=1; print "1..2\n"; }
17
END {print "not ok $test\n" unless $loaded;}
21
require 't/subroutines.pl';
23
chdir 't/bzlib' || die 'Cd failed';
26
# Test reading BZip compressed MIFF
28
testRead( 'input.miff',
29
'8b19185a62241bd7b79ecf3f619711f4ebbedd73eaeca0366f05778762b6614f' );
32
# 2) Test reading BZip compressed MIFF (.bz2 extension)
34
print("Reading Zip compressed MIFF (.bz2 extension) ...\n");
36
testRead( 'input.miff.bz2',
37
'8b19185a62241bd7b79ecf3f619711f4ebbedd73eaeca0366f05778762b6614f' );