28
Views
2
Comments
[Smart Image Utils] Compressed PNG loses alpha / transparency and gets black background
Question
smart-image-utils
Service icon
Forge asset by Aureliano Pinheiro
Application Type
Service

Hi,

Using the latest version of the extension, sometimes compressing a PNG with a transparency layer/background, the transparency is lost.

This doesn't happen to all images, but seems to happen more often in larger files.

Do you have any similar experience? Any clue on the reason?

Tried with the attached image, on the demo app 


CelulaCAR-T.png
UserImage.jpg
Akash Chouhan

Hi Gonçalo BorrĂªga, 

I have also faced this problem then I fixed it with Tiny Png


Regards,

Akash.

2022-08-11 19-07-59
Aureliano Pinheiro

Hi @Gonçalo BorrĂªga,

First of all thank you for your output and trust.

Sorry for the late answer, I have tested your scenario and published an updated version of the component taking that into account, in this version the png images compression functionality will not consider the value on "CompressionLevel" input in order to compress the png doing it "automatically" to a smaller size without losing quality.

Please test this new version and let me know of the outcome,

Best Regards,

Aureliano Pinheiro

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.