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