Page 1 of 1

upload

Posted: Wed Dec 12, 2007 12:20 pm
by westen
I have a page that uploads photos onto my server. I want to accept large photos that people have taken on their cameras (some digital cameras save photos at 4meg!), but want to compress them so they are no bigger than about 100k, I do not mind if this is in real-time as they are uploading or a batch process at the end of the day, does anyone know how I would go about doing this? Is it possible using php?

Thanks very much for the help,
Nicholas

Posted: Wed Dec 12, 2007 12:46 pm
by Christopher
Both the GD and ImageMagick libraries are available for PHP.

Posted: Wed Dec 12, 2007 12:49 pm
by westen
thanks, i will look into those.