class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
The image is decompressed by the class, and then recompressed. If it is a JPEG, you can change the setting jpeg_quality, which is set to 85 by default.
You may want to use a tool such as ImageMagick identify to compare the two images, and see why the resulting image is bigger in size.Reply
You may want to use a tool such as ImageMagick identify to compare the two images, and see why the resulting image is bigger in size.