SCook Posted July 26, 2006 Share Posted July 26, 2006 Hi all,I use the GD class extensively to resize and resample images uploaded by clients to their sites. However, I've run into a problem with the jpeg compression rate. I think the GD class is using high compression and I want to change that. Does anyone know the function to do this? Or a quickie how to? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/15716-gd-class-help-setting-jpeg-compression/ Share on other sites More sharing options...
zq29 Posted July 26, 2006 Share Posted July 26, 2006 The third parameter in the imagejpeg() function is for compression. On a scale of 0 - 100, 0 being the highest compression. Quote Link to comment https://forums.phpfreaks.com/topic/15716-gd-class-help-setting-jpeg-compression/#findComment-64186 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.