1 #!/usr/bin/perl 2 # 3 # Test reading HDF images 4 # 5 # Contributed by Bob Friesenhahn <bfriesen (at] simple.dallas.tx.us> 6 # 7 8 BEGIN { $| = 1; $test=1; print "1..2\n"; } 9 END {print "not ok $test\n" unless $loaded;} 10 use Image::Magick; 11 $loaded=1; 12 13 require 't/subroutines.pl'; 14 15 chdir 't/hdf' || die 'Cd failed'; 16 17 # 18 # 1) Test 256 color pseudocolor HDF 19 # 20 testRead( 'input_256.hdf', 21 '975cdb03f0fa923936f1cecf7b8a49a917493393a0eb098828ab710295195584' ); 22 23 # 24 # 2) Test TrueColor HDF 25 # 26 ++$test; 27 testRead( 'input_truecolor.hdf', 28 '975cdb03f0fa923936f1cecf7b8a49a917493393a0eb098828ab710295195584' ); 29