Ask a Question related to PERL Modules, Design and Development.
-
Tim Heaney #1
Re: Image Magick thumbnail batch resizing
Spartacus <spam@mailinator.com> writes:
I think you want to scale instead of sample>
> As both 'convert' and 'display' utilize imagemagick, I guess it should in
> theory be possible to get the same quality either way.
>
> Does anyone knows how the "display vid" procedure acheive such good result,
> and how I can get equivalent quality using a simple batch convert?
do convert -quality 85 -scale x75 $i ../thumbs/`basename $i .jpg`.jpg;
PerlMagick gives you access to all of ImageMagick from within Perl,> Or are there any suitable perl tools (modules) that could be useful
> here?
but it doesn't do anything differently.
Alternatively, you could use Image::Resize or GD itself.
I hope this helps,
Tim
Tim Heaney Guest
-
Image::Magick::Thumbnail::create problem
I am using a script based on the example from www.cpan.org for Image::Magick::Thumbnail:- #!/usr/bin/perl -w use CGI qw(:all); print header;... -
Help: Image::Magick::Thumbnail
Hi, The following example (from cpan.org) take an .jpg image and creates a thumbnail. It creates an image where the biggest size is 50 pixels. ... -
Thumbnail image in Flash to larger image in new window?
I have a series of thumbnail images in Flash and I want the user to be able to click on the thumbnail and get a larger photo. I know how to make the... -
Image Magick
Mike At Spy wrote: the easiest way to remove them is to use RPM, if that was what was used to install them rpm -e ImageMagick if there are no... -
[PHP] Image Magick
Mike -- ...and then Mike At Spy said... % % Anyone here familiar with the installation of Image Magick and what filesit % installs on your... -
Gunnar Hjalmarsson #2
Re: Image Magick thumbnail batch resizing
Spartacus wrote:
I'm accessing ImageMagick from the Perl module Image::Magick:> Or are there any suitable perl tools (modules) that could be useful here?
use Image::Magick;
my $image = Image::Magick->new;
$image->Read('/path/to/original/image');
$image->Thumbnail('120x120');
$image->Write('/path/to/thumbnail/directory');
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest



Reply With Quote

