in reply to Reading JPEG data

You could look up the jpeg file format (try wotsit), and write your own jpg reader, but that would be a considerable amount of work.

The GD module can handle jpg format, and would allow you access to the image bits for modifications. The sources for the binary component of the package are available at http://www.boutell.com/gd/. Maybe the web host would be prepared to build the library from sources for him.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!
Wanted!

Replies are listed 'Best First'.
Re: Re: Reading JPEG data
by bradcathey (Prior) on Nov 03, 2003 at 21:44 UTC
    A caveat about GD. I've been using it because my web host will not support Image::Magick. GD does everything very well, but the quality of the optimization is dicey at best. Images can look pretty chunky, regardless of how you set the params, as compared to something like a Photoshop optimization. I too would be interested in options—just wish I::M didn't have the overhead and it was more "hostable." FWIW