1#!/usr/bin/perl 2# 3# Test reading HDF images 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/hdf' || die 'Cd failed'; 16 17# 18# 1) Test 256 color pseudocolor HDF 19# 20testRead( 'input_256.hdf', 21 '975cdb03f0fa923936f1cecf7b8a49a917493393a0eb098828ab710295195584' ); 22 23# 24# 2) Test TrueColor HDF 25# 26++$test; 27testRead( 'input_truecolor.hdf', 28 '975cdb03f0fa923936f1cecf7b8a49a917493393a0eb098828ab710295195584' ); 29