Your approach defeats the purpose of using SVG in the first place, and
will result in much large PDF files that I am currently getting. I
really want to work out how use my SVG-with-alpha directly in LyX, or at
least some vector format that will look OK.
I wonder if there's an SVG-to-EPS converter that doesn't something smart
with regard to alpha channels? It would need to flatten the layers of
the vector image in a vectorised way, rather than the bitmapped way that
most renderers no double work.
Perhaps I just need to give up on the alpha-channel idea...
Cheers
JP
Stephen Harris wrote:
John Pye wrote:
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
This is a recommended method I found before:
Alternatively, SVG to EPS or PDF
1. Open with inkscape.
2. Export to png (huge hi-resolution)
3. Open with the GIMP
4. Save as .eps
5. gsview (or linux command) convert to .ps
6. ps2pdf convert .ps to .pdf
Regards,
Stephen
--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/