alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

PNG images with alpha and clip path not converted correctly #147

Open jziegel opened 3 years ago

jziegel commented 3 years ago

When converting PNG images with an alpha channel and clip path, the clip path is not applied as seen below.

PNG clip path issue
HitkoDev commented 2 years ago

I've also experienced this problem, I managed to solve it by adding white background to my PNGs, but that's not always the desired behaviour.

david-storm94 commented 1 year ago

I'm experiencing the same issue. Would be nice if this one could get fixed