From 5509cf4d1c5e80d9fef065d78ad420ff094fab7e Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 2 Jun 2009 22:56:07 +0000 Subject: [PATCH] work around for image magick bug --- t/Macro/Thumbnail.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Macro/Thumbnail.t b/t/Macro/Thumbnail.t index 799c064bd..6b8f97cd5 100644 --- a/t/Macro/Thumbnail.t +++ b/t/Macro/Thumbnail.t @@ -88,7 +88,7 @@ SKIP: { ##Load the image into some parser and check a few pixels to see if they're blue-ish. ##->Get('pixel[x,y]') hopefully returns color in hex triplets my $thumbImg = Image::Magick->new(); - $thumbImg->Read(filename => $thumbFile); + $thumbImg->ReadImage($thumbFile); cmp_bag([$thumbImg->GetPixels(width=>1, height=>1, x=>25, y=>25, map=>'RGB', normalize=>'true')], [0,0,1], 'blue pixel #1'); cmp_bag([$thumbImg->GetPixels(width=>1, height=>1, x=>75, y=>75, map=>'RGB', normalize=>'true')], [0,0,1], 'blue pixel #2');