Module for manipulating JPEG image

Module for manipulating JPEG image

am 04.01.2007 18:53:28 von Paul

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?

Re: Module for manipulating JPEG image

am 04.01.2007 19:18:20 von Sherm Pendley

"Paul" 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.


Third suggestion: GD.


sherm--

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

Re: Module for manipulating JPEG image

am 05.01.2007 07:49:55 von Paul

"Sherm Pendley" wrote in message
news:m2d55uac5v.fsf@Sherm-Pendleys-Computer.local...
> "Paul" 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.
>
>
> Third suggestion: 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.