- Modifications to compile ImageMagick
This commit is contained in:
parent
615ec83706
commit
83522c16c3
3442 changed files with 57 additions and 412926 deletions
1
ImageMagick/PerlMagick/t/hpgl/input.hpgl
Normal file
1
ImageMagick/PerlMagick/t/hpgl/input.hpgl
Normal file
File diff suppressed because one or more lines are too long
29
ImageMagick/PerlMagick/t/hpgl/read.t
Normal file
29
ImageMagick/PerlMagick/t/hpgl/read.t
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# Test Reading HP GL images
|
||||
#
|
||||
# Contributed by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||
#
|
||||
|
||||
BEGIN { $| = 1; $test=1; print "1..1\n"; }
|
||||
END {print "not ok $test\n" unless $loaded;}
|
||||
use Image::Magick;
|
||||
$loaded=1;
|
||||
|
||||
require 't/subroutines.pl';
|
||||
|
||||
chdir 't/hpgl' || die 'Cd failed';
|
||||
|
||||
#
|
||||
# 1) Test reading HP GL
|
||||
#
|
||||
$image=Image::Magick->new;
|
||||
$x=$image->ReadImage('input.hpgl');
|
||||
if( "$x" ) {
|
||||
print "ReadImage: $x\n";
|
||||
print "not ok $test\n";
|
||||
} else {
|
||||
print "ok $test\n";
|
||||
}
|
||||
|
||||
undef $image;
|
Loading…
Add table
Add a link
Reference in a new issue