Comment 15 for bug 427540

Revision history for this message
Martin Spacek (mspacek) wrote :

I'm also experiencing this on the latest 0.92.2 on Xubuntu 16.04. This is actually a new issue for me, I believe after the 0.91 -> 0.92 transition. Exporting the exact same .svg to .pdf in 0.9.2 now causes some of my raster images in the .svg (originally generated as .pdfs by matplotlib in python) to either disappear (when viewed using qpdfview) or to exhibit some kind of fading or blending, especially at the border of the raster image, like some kind of filter has been applied to them. Ungrouping the raster object to the maximum extent, then releasing the mask that is apparently applied to it (by matplotlib?), then deleting the mask, and only *then* exporting to .pdf, seems to solve the problem.

Note that for me this is a regression. Even if matplotlib is doing something strange when generating .pdf files with raster images in them, inkscape used to be able to handle them fine on export, but as of 0.92 no longer does in my experience. Note that everything in the .svg looks and works fine, the issue is only during export to .pdf.

I've attached an example source .pdf, generated by matplotlib. Drag and drop it into a new Inkscape .svg document, and export to .pdf to reveal the issue. Then try the above steps to see it resolved.