Skip to main content
Dawson_Beggs
Jun 7, 2021 9:43 PM UTC

Ability to change color of PNG images

Support for native functionality of the following plugin would be helpful.

Figma

4 replies

Gleb
Power Member
Jun 7, 2021 11:13 PM UTC

You can already do this natively: use PNG as mask to the colored rectangle (the PNG needs to be transparent).

Dawson_Beggs1
Jun 7, 2021 11:32 PM UTC

For sure, that method works too - just think it’s a little more effort than it needs to be in my opinion 🙂

Aug 3, 2023 9:52 PM UTC

This method is a bit buggy in previewing, especially when changing the state of an icon, like while hovering. The full rectangle appears first before the mask is rendered.

Gleb
Power Member
Aug 4, 2023 5:27 PM UTC

Rasterize the icon with the changed color before viewing the prototype. But I don’t think using raster icons is a good idea in the first place.