StanLytle Posted March 21, 2007 Share Posted March 21, 2007 This line of code aparently saves the jpg file: imagejpeg($image2,$src,95) If the default value is set to 100, some of the saved files are larger in size than what they were uploaded (ie: uploaded as 300K, saved as 450K). To keep the file size from bloating, I set the parameter to 95. But this causes the images to pixelate in 8x8 arrays, some worse than others. Is there a better function to save jpg images so that they don't weird out? Thanks, Stan Link to comment https://forums.phpfreaks.com/topic/43740-saving-jpg-images/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.