1#!/usr/bin/perl
2#
3# Test read image method on non-interlaced JPEG.
4#
5# Contributed by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
6#
7BEGIN { $| = 1; $test=1; print "1..2\n"; }
8END {print "not ok $test\n" unless $loaded;}
9use Image::Magick;
10use lib '/home/cristy/ImageMagick-7.0.8-27/PerlMagick';
11$loaded=1;
12
13require 't/subroutines.pl';
14
15chdir 't/jpeg' || die 'Cd failed';
16
17#
18# 1) Test non-interlaced image read
19#
20print( "Non-interlaced JPEG ...\n" );
21testReadCompare('input.jpg', '../reference/jpeg/read_non_interlaced.miff', q//, 0.0001, 0.16);
22
23#
24# 2) Test plane-interlaced image read
25#
26++$test;
27print( "Plane-interlaced JPEG ...\n" );
28testReadCompare('input_plane.jpg', '../reference/jpeg/read_plane_interlaced.miff', q//, 0.0001, 0.16);
29
30
31