|
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,makethe backgroundtransparent instead of white. (Or have anoptionto 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 BerendsenThanks, Wilbert! I tried "lilypond -dhelp" to lookaround for an option like that but completely overlooked that one.-JonathanOk, when I run lilypond from the command line with the following options it works perfectly:lilypond --png -dpixmap-format=pngalpha -dpreview test.lyBut 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 -dpreviewI 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
[Prev in Thread] | Current Thread | [Next in Thread] |