Hi Uwe,

This approach (save as PDF from Inkscape) did not give me alpha channel transparency in my PDF. For example:

On the left is a PNG exported from Inkscape (or alternatively, generated using 'rsvg-convert'. On the right is the PDF exported by Inkscape.

So I'm still stuck with no alpha channel; the only approach still is to use a PNG conversion filter, which means blurry figures.

I'm hoping that rsvg-convert's PDF output might do a better job than Inkscape's, but haven't succeeded with that (the LyX builtin 'convert' convert seems to get in the way for some reason).

Cheers
JP

[screenshot]

Uwe Stöhr wrote:
John Pye wrote:

What's the right string of tools to embed an SVG with alpha-channel transparency into a LyX document so that I get the alpha channel appearing right in the end-product PDF file?

Transform your SVG to PDF. Inkscape supports alpha channels in SVG and in PNG, see

http://wiki.inkscape.org/wiki/index.php/InkscapeFeatures

The new version 0.44 of Inkscape:

http://sourceforge.net/project/showfiles.php?group_id=93438&package_id=99112

comes with a native PDF export, so that the alpha channel should be included in the PDF. The resulting PDF image can directly be used in LyX when you use pdflatex to generate the PDF output.

regards Uwe


-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/


Reply via email to