• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/perl
2#
3# Test Reading HP GL images
4#
5# Contributed by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
6#
7
8BEGIN { $| = 1; $test=1; print "1..1\n"; }
9END {print "not ok $test\n" unless $loaded;}
10use Image::Magick;
11$loaded=1;
12
13require 't/subroutines.pl';
14
15chdir 't/hpgl' || die 'Cd failed';
16
17#
18# 1) Test reading HP GL
19#
20$image=Image::Magick->new;
21$x=$image->ReadImage('input.hpgl');
22if( "$x" ) {
23  print "ReadImage: $x\n";
24  print "not ok $test\n";
25} else {
26    print "ok $test\n";
27}
28
29undef $image;
30