On Sat, 15 Nov 2008 19:27:57 +0900 ______ <[EMAIL PROTECTED]> wrote: >Hello, I have some problem using Perl interface. > >* my environment: > > Perl 5.8.8, ImageMagick 6.1.8, PerlMagick6.4 (I couldn¡¯t find PerlMagick >6.1.8 package on the web) > >I want to convert postscript Image file to gif file.
>Here, when I use ¡®convert¡¯ of Imagemagick, it works good. > >convert -crop 0x0 -rotate -90 -density 110 $ps_file $gif_file > >I want to do same job using perl script as below but, image size dosen¡¯t >same. > >Ps2gif.pl > >------------------------------------ > >Use Image::Magick; > >my $image = Image::Magick->new(); > >$image->Read($ps_file); > >$image->Rotate(degrees=>-90); > >$image->Trim(); > >$image->Set(units=>1); <-- This code didn¡¯ work !!! > >$image->Set(density=>110); <---This code didn¡¯t work!!!! > >$image->Write($gif_file); > >Please, let me know solve this problem. Your perl script seems to work for me with ImageMagick-6.4.3, and the PerlMagick that comes with it. Maybe if you could post a small ps file you are working with, and what you see as output. 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
