Click here to get back home

Module for manipulating JPEG image

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Module for manipulating JPEG image Paul 01-04-2007
Posted by Paul on January 4, 2007, 12:53 pm
Please log in for more thread options


I have looked at the Image modules, but haven't found the function I am
looking for. I would like to open a series of JPEG image files, compress the
dimensions, and save the reduced image to the original file. Suggestions?



Posted by Sherm Pendley on January 4, 2007, 1:18 pm
Please log in for more thread options



> I have looked at the Image modules, but haven't found the function I am
> looking for. I would like to open a series of JPEG image files, compress the
> dimensions, and save the reduced image to the original file. Suggestions?

First suggestion: Don't do that if you can avoid it. Lossy compression and
all that, ya know - if you have access to a non-lossy original, like a PSD
file, it'd be better to load that, resize it, then export a new JPEG.

Second suggestion: ImageMagick.
<http://www.imagemagick.org/script/index.php>

Third suggestion: GD.
<http://www.boutell.com/gd/>

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Posted by Paul on January 5, 2007, 1:49 am
Please log in for more thread options



>
>> I have looked at the Image modules, but haven't found the function I am
>> looking for. I would like to open a series of JPEG image files, compress
>> the
>> dimensions, and save the reduced image to the original file. Suggestions?
>
> First suggestion: Don't do that if you can avoid it. Lossy compression and
> all that, ya know - if you have access to a non-lossy original, like a PSD
> file, it'd be better to load that, resize it, then export a new JPEG.
>
> Second suggestion: ImageMagick.
> <http://www.imagemagick.org/script/index.php>
>
> Third suggestion: GD.
> <http://www.boutell.com/gd/>
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net

Thanks, ImageMagick is a charm.



Similar ThreadsPosted
GD: How to know image type? (JPEG, PNG, ..) January 15, 2008, 6:36 am
Manipulating ANY type of email January 3, 2006, 5:03 pm
ImageMagick and Xitami jpeg/bmp issue June 28, 2006, 9:40 am
Modules for hash functions? (ie, common algorithms for computing hash keys, not manipulating perl hashes) August 26, 2006, 7:08 pm
submitting new module to CPAN (Image::ExifTool) September 21, 2004, 4:45 pm
How can I install Image::Magick module on windows system? December 10, 2005, 3:36 pm
Is there a module that grabs a remote page and prints thumbnail image? May 26, 2006, 12:09 am
[RFC] GD-Image-CopyIFS May 14, 2005, 3:42 pm
image magick through apt-get November 27, 2004, 5:48 pm
image::grab January 4, 2005, 7:22 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap