Re: Module for manipulating JPEG image




"Sherm Pendley" <spamtrap@xxxxxxxxxxx> wrote in message
news:m2d55uac5v.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Paul" <polcs6969@xxxxxxxxx> writes:

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.


.



Relevant Pages

  • Re: Module for manipulating JPEG image
    ... I would like to open a series of JPEG image files, compress the ... and save the reduced image to the original file. ... First suggestion: Don't do that if you can avoid it. ...
    (comp.lang.perl.modules)
  • Re: An interview question.
    ... > I was asked to compress a text file in a way that evey word be written ... > If this is the original file: ... What you have been given is more like a concordance program. ... The interesting part comes when you need to optimise the program. ...
    (comp.lang.c)
  • Please, PLEASE, hold your questions/comments/elsewhat til the end. Thank you. :)
    ... can't compress as a file that we can compress, how do we know which is ... doesn't add the secondary extension, ... but only if you have a scheme to extract it with. ... would have to be at least as large as the original file. ...
    (comp.compression)
  • Re: Please, PLEASE, hold your questions/comments/elsewhat til the end. Thank you. :)
    ... You just can't decompress it, ... I can compress it to ZERO bits! ... too-but it's been assumed that the scheme ... would have to be at least as large as the original file. ...
    (comp.compression)
  • Module for manipulating JPEG image
    ... I have looked at the Image modules, but haven't found the function I am ... I would like to open a series of JPEG image files, ... and save the reduced image to the original file. ...
    (comp.lang.perl.modules)