Mobile app version of vmapp.org
Login or Join
Goswami567

: Layer not being correctly exported in Sketch I have a layer of 82% opacity on top of a background. When I choose to export only that layer, Sketch exports it with the background beneath it.

@Goswami567

Posted in: #Layers #Opacity #SketchApp

I have a layer of 82% opacity on top of a background. When I choose to export only that layer, Sketch exports it with the background beneath it.

If I try to hide the background, then it exports the bar with the color of the artboard. That means that the colour is not right, because 82% opacity with white background beneath it gives a different colour to when the background is beneath it.

The most annoying thing is that when I export another layer (for example, the column "profile"), it exports all right without a background. The opacity is the same and all settings are the same, but the behavior is different.

I am exporting to PNG.

Does anyone know how to export this correctly?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami567

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb5748823

I tried to recreate the scenario you are describing.



By selecting only the layer that is targeted for export (in my case it is only the semi-tranparent navy blue rectangle), click the Make Exportable button in the lower right corner.

That should result in a semi-transparent png. After doing this, I imported the resulting png to make sure is exported correctly.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme