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
Problem Description
When the exported SVG contains filter, for example filter="url(#filter-remove-color)" and filter="url(#filter-color-to-alpha)", Inkscape will ignore the filters, resulting in display errors in EMF.
Problem Causes
Let's analyze the problem step by step. It is a chain of dependency issues that we can hardly mitigate in this project.
Firstly, when the PDF contains some images with transparency, pdf2svg will convert them as <image /> with filters used. This behavior, unfortunately, goes down to its own dependency. Image converting dawbarton/pdf2svg#22
As such, the generated PPT file is not accurate and requires manual editing.
Mitigation Thoughts
The first thing to avoid is using transparency in creating PDF (I think you are using LaTeX with the beamer class), though this can be hard. Avoid PNG with transparency. Avoid using PDF generated from other applications (which can contain transparency somewhere you are unaware of). The alternative is to always favor TikZ, which produces better quality. Note that try to reduce the use of opacity in TikZ as well, and use pseudo-opacity, like blue!10 on a white background.
I will do some checks on SVG in the pdf2ppt project to produce warnings on affected slide pages, so you can copy and paste the original SVG to PPT manually.
The text was updated successfully, but these errors were encountered:
Now a warning will be displayed when such problems are detected, for example
WARNING: Pages [1, 3, 10] may not be correct, please double check.
You can manually copy the generated SVG images to PPT.
(More info: https://github.com/Teddy-van-Jerry/pdf2ppt/issues/1)
The SVG images of affected pages will be copied to another folder, which will not be cleaned after running.
The check behavior can be disabled by specifying --no-check.
Problem Description
When the exported SVG contains
filter
, for examplefilter="url(#filter-remove-color)"
andfilter="url(#filter-color-to-alpha)"
, Inkscape will ignore the filters, resulting in display errors in EMF.Problem Causes
Let's analyze the problem step by step. It is a chain of dependency issues that we can hardly mitigate in this project.
pdf2svg
will convert them as<image />
withfilter
s used. This behavior, unfortunately, goes down to its own dependency.Image converting dawbarton/pdf2svg#22
filter
s, the transparency is gone, resulting in black blocks which are annoying.https://gitlab.com/inkscape/inbox/-/issues/3858
https://gitlab.com/inkscape/inbox/-/issues/2275
Mitigation Thoughts
beamer
class), though this can be hard. Avoid PNG with transparency. Avoid using PDF generated from other applications (which can contain transparency somewhere you are unaware of). The alternative is to always favor TikZ, which produces better quality. Note that try to reduce the use ofopacity
in TikZ as well, and use pseudo-opacity, likeblue!10
on awhite
background.pdf2ppt
project to produce warnings on affected slide pages, so you can copy and paste the original SVG to PPT manually.The text was updated successfully, but these errors were encountered: