On Mon, 3 Nov 2008 14:25:01 -0600
"James O'Donnell" <[EMAIL PROTECTED]> 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__


zentara

-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to