Someone just mentioned ImageMagick... Check it out: http://www.imagemagick.org/
ImageMagickTM is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image and save your completed work in the same or differing image format. Image processing operations are available from the command line, as well as through C, C++, Perl, or Java programming interfaces. Or you can check out the built in gd functions. http://www.php.net/manual/en/ref.image.php Sam On 3/11/02 12:21 PM, "P.Agenbag" <[EMAIL PROTECTED]> wrote: > Hi, I am trying to make a util whereby ppl can upload their own images to my > server for me to automatically display them. > The below code works fine, but I have the following problem. > It only works fne if everyone complies to a standard of a set width and height > for the image. This is not always possible, so I'm looking for a way to accept > the image in any form they have and then to scale it > to fit within an acceptable height/width range. > This I need help with, so if someone could hep me ( at the hand of my current > code) I would be very pleased. > > Thanks > > Petre > > below my code snippet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php