Mobile app version of vmapp.org
Login or Join
Cugini998

: Sketch exports Alpha Mask different to a PDF than to a PNG? I'm using Sketch to make a fade out effect in an image using a gradient alpha mask as described at the bottom of this page. In

@Cugini998

Posted in: #Export #Gradient #Pdf #Png #SketchApp

I'm using Sketch to make a fade out effect in an image using a gradient alpha mask as described at the bottom of this page. In Sketch it looks like I want it to, and now I want to export it both to a PNG and a PDF. Exporting to PNG works fine:



I now also wanted to export it to PDF, but now the image suddenly also fades at the top:



Does anybody know why this is, and does anybody know how I can export this to PDF correctly? All tips are welcome!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini998

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL875

Transparent gradients are not supported in PDF. There is no neat solution to this problem, what you could try and do is flatten the gradients to bitmaps before exporting.

To do this, go to Layer > Flatten selection to bitmap.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme