papaface Posted April 24, 2007 Share Posted April 24, 2007 Hello, Is there a function of some sort that can reduce the size of an image on upload by changing the quality of the image or something? Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/ Share on other sites More sharing options...
keeB Posted April 24, 2007 Share Posted April 24, 2007 You can use the imagemagik binary and exec() Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/#findComment-237092 Share on other sites More sharing options...
AndyB Posted April 24, 2007 Share Posted April 24, 2007 http://fundisom.com/phparadise/php/image_handling/image_upload_and_resize works 'straight out of the box'. That might be an ideal solution for you. Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/#findComment-237101 Share on other sites More sharing options...
papaface Posted April 24, 2007 Author Share Posted April 24, 2007 Thanks for the posts, but I want to reduce the quality of the images which will in turn reduce the size of the images. The reason being is that I have 6.0mb+ images that are High Def and I want them to load quicker in the browser as I use a lightbox. Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/#findComment-237117 Share on other sites More sharing options...
papaface Posted April 24, 2007 Author Share Posted April 24, 2007 Can anyone suggest anything? Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/#findComment-237133 Share on other sites More sharing options...
AndyB Posted April 24, 2007 Share Posted April 24, 2007 http://ca3.php.net/manual/en/function.imagejpeg.php - allows an optional image quality parameter. Link to comment https://forums.phpfreaks.com/topic/48484-reduce-image-quality-and-size/#findComment-237165 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.