Jonathan Wilkes wrote:
--- On Sun, 4/11/10, Jonathan Wilkes <jancs...@yahoo.com> wrote:

From: Jonathan Wilkes <jancs...@yahoo.com>
Subject: Re: png output with transparent background
To: bug-lilypond@gnu.org, "Wilbert Berendsen" <lily...@xs4all.nl>
Date: Sunday, April 11, 2010, 10:29 PM


--- On Sun, 4/11/10, Wilbert Berendsen <lily...@xs4all.nl>
wrote:

From: Wilbert Berendsen <lily...@xs4all.nl>
Subject: Re: png output with transparent background
To: bug-lilypond@gnu.org
Cc: "Jonathan Wilkes" <jancs...@yahoo.com>
Date: Sunday, April 11, 2010, 9:03 AM
Op zondag 11 april 2010 schreef
Jonathan:

Feature request: when outputting to a png file,
make
the background
transparent instead of white.  (Or have an
option
to do this.)

This can already be done with the pngalpha device of
GhostScript.

Call LilyPond like this:

lilypond --png -dpixmap-format=pngalpha file.ly

best regards,
Wilbert Berendsen
Thanks, Wilbert!  I tried "lilypond -dhelp" to look
around for an option like that but completely overlooked that one.

-Jonathan

Ok, when I run lilypond from the command line with the following options it works perfectly:

lilypond --png -dpixmap-format=pngalpha -dpreview test.ly

But when I run it from jedit using lilypondtool I get an error in the lilypond console: "unrecognized option: foo" where foo is whatever I put as the default arguments in the lilypondtool plugin options. I'm putting the following in the textbox for "default arguments":

--png -dpixmap-format=pngalpha -dpreview

I don't get the error if I use a single argument like "--png", or "dpreview".

-Jonathan


I think this is a bug in LilyPondTool, because it sends the whole "default arguments" list as one argument to lilypond.

As a workaround you can try writing this to the Console window:
%lilypond --png -dpixmap-format=pngalpha -dpreview %buffer


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to