So, I have an image downloader that optimizes the image using this code before uploading the file to Amazon S3:
<cfset ImageScaleToFit(myImage,1260,"")>
<cfset imageWrite(myimage,"newImagelocation", 0.9)>
It is odd that if I upload an image with a width of 1260 and a size of 24k, and then optimize it using the code above, the image will become 34k in size.
Why does image optimization make it bigger?
source
share