bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: png output with transparent background


From: Bertalan Fodor (LilyPondTool)
Subject: Re: png output with transparent background
Date: Mon, 12 Apr 2010 10:19:10 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Jonathan Wilkes wrote:
--- On Sun, 4/11/10, Jonathan Wilkes <address@hidden> wrote:

From: Jonathan Wilkes <address@hidden>
Subject: Re: png output with transparent background
To: address@hidden, "Wilbert Berendsen" <address@hidden>
Date: Sunday, April 11, 2010, 10:29 PM


--- On Sun, 4/11/10, Wilbert Berendsen <address@hidden>
wrote:

From: Wilbert Berendsen <address@hidden>
Subject: Re: png output with transparent background
To: address@hidden
Cc: "Jonathan Wilkes" <address@hidden>
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]