...

View Full Version : reduce image size and weight



kamkam
08-21-2009, 11:16 PM
Hi;

How i can reduce an image size and weight by php after a user upload their image to my hosting ?

Thanks

Fou-Lu
08-21-2009, 11:24 PM
By using PHP's GD (http://php.ca/manual/en/ref.image.php) library. Look specifically at the imageCreateFrom* functions and imageCopyResized and imageCopyResampled.

kamkam
08-22-2009, 12:51 AM
thanks a lot



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum