I am not a PerlMagick expert, but I believe that there may be some 
typos (not sure about the comma after 100, but pretty sure 
compression is not spelled correctly)


$img->set('quality'=> '100' );
$img->set('compression'=> 'LosslessJPEG' );



>On Mon, 3 Nov 2008 14:25:01 -0600
>"James O'Donnell" <james at homegrowninvestments.com> wrote:
>
>>Is is possible to use perl magick to convert PDF to a JPG?
>>
>>I am using the perl interface with imagemagick.
>>
>
>#!/usr/bin/perl
>use warnings;
>use strict;
>use Image::Magick;
>
>my $img = Image::Magick->new;
>$img->Read('zzimage.pdf');
>
>$img->set('magick'=> 'jpg');
>
>$img->set('quality'=> 100, );
>$img->set('compresion'=> 'LosslessJPEG' );
>
>$img->Write(filename=>"$0.jpg");
>
>__END__
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to