[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] RAQ4i JPEG php image resize
- Subject: Re: [cobalt-developers] RAQ4i JPEG php image resize
- From: "John E. Martin" <jem@xxxxxxxxxxxxxxxxx>
- Date: Thu Mar 27 14:18:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> I need to take a image that is large upload it to the server and resize
the
> image to a small thumbnail. I see there is a way to do this with php using
a
> gif and the GD library. But i am not haveing any success on doing it with
a
> jpg file. Does anyone have any example code or anything?
Look for a package called ImageMagick on freshmeat. It provides a utility
called 'convert' which allows you to convert image types for whatever
libraries you have available.
ie, png -> jpg, gif -> png, jpg -> tiff
It's quite handy.
I'm sure there's a few RPM dependancy issues that may arise if you use an
RPM rather than building from source, but hopefully this will at least point
you in the right direction.
-John