Shopify CDN Increases the size (kb) of the original image

New Member
5 0 0

I see this problem: I upload a 122KB compressed image After downloading the image to CDN Shopify, it size 220KB. What is the reason?

 

The screenshot is clear:


2019-03-13_20-59-14.png2019-03-13_20-29-03.pngLink to download the original image:

https://yadi.sk/d/t36Y1125i59G2A (122KB)

 

Link to this image only in Shopify CDN

https://cdn.shopify.com/s/files/1/0014/7695/2129/files/argil_50761c47-4f3f-4d74-8b57-8737d94259ce.pn... (220KB)

0 Likes
Highlighted
Shopify Partner
1843 170 534

Because Shopify recompresses PNG images to 90% quality.

 

If you want more control over your image compression, use JPG and check the following reference for when and how compression is done by Shopify.

 

I know this isn't ideal for cases such as yours when you need transparency i.e. using PNG but you may also consider an alternative format that supports transparency and is more size effective than PNG.

 

Hope this helps!

I turn coffee in to code - since 1998
1 Like
New Member
5 0 0

Yes, svg could be used, but Shopify prohibits downloading SVG :(

0 Likes
New Member
5 0 0

Suppose that he squeezes them, the quality is worse, the size is larger, somehow it is illogical. I think this is unacceptable.

0 Likes