You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Transparent background in PDF image is rasterized as white #7235
bugSomething isn't workingpdfRelated to PDF export or PDF embedding.visualizeRelated to the visualize category, which is about drawing and illustrating
If I embed a pdf image with a transparent background, that background is correctly transparent when exporting to svg and pdf, but not png. It turns white instead. Presumably this may be an upstream issue in Hayro @LaurenzV .
(I cannot share the image in question, but I can't imagine it's specific to this one image.)
changed the title [-]Transparent background in pdf is rasterized as white[/-][+]Transparent background in PDF image is rasterized as white[/+]on Oct 27, 2025
I'm facing the same issue too, when I try to add the pdf image attached.
Has this already been fixed - i'm guessing it will take a while to be pushed to typst.app?
bugSomething isn't workingpdfRelated to PDF export or PDF embedding.visualizeRelated to the visualize category, which is about drawing and illustrating
Activity
LaurenzV commentedon Oct 27, 2025
Oh yeah, right now we always apply a white background… I forgot about this, but should be easy enough to fix.
[-]Transparent background in pdf is rasterized as white[/-][+]Transparent background in PDF image is rasterized as white[/+]xkevio commentedon Dec 2, 2025
Once LaurenzV/hayro#523 is merged and the
hayroversion is bumped in typst, this would be resolved!Matt-Ord commentedon Feb 2, 2026
I'm facing the same issue too, when I try to add the pdf image attached.
Has this already been fixed - i'm guessing it will take a while to be pushed to typst.app?
polarization_efficiency (1).pdf
LaurenzV commentedon Feb 2, 2026
It’s not fixed yet but it can be fixed in the next version.