Does Coldfusion resize image files larger?

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?

+4
source share
1 answer

ColdFusion ImageScaleToFit() . / . highestQuality. - - . , 0.9 , , ImageScaleToFit().

, , , highestQuality.

. mediumQuality, highestPerformance ..

+7

Source: https://habr.com/ru/post/1694464/


All Articles