Re: transparent background in lilypond generated png's

2010-04-10 Thread Jonathan Wilkes
Hello, I was curious if the transparent background for png output ever got implemented. I'm using little lilypond excerpts for a webpage I just started working on, and the background is a light-grey gradient. The GIMP solution mentioned earlier in the thread works just fine, but if it's

Re: transparent background in lilypond generated png's

2010-04-10 Thread Patrick McCarty
On Sat, Apr 10, 2010 at 8:24 PM, Jonathan Wilkes jancs...@yahoo.com wrote: Hello,     I was curious if the transparent background for png output ever got implemented.  I'm using little lilypond excerpts for a webpage I just started working on, and the background is a light-grey gradient. The

Re: transparent background in lilypond generated png's

2010-04-10 Thread Jonathan Wilkes
--- On Sun, 4/11/10, Patrick McCarty pnor...@gmail.com wrote: From: Patrick McCarty pnor...@gmail.com Subject: Re: transparent background in lilypond generated png's To: Jonathan Wilkes jancs...@yahoo.com Cc: lilypond-user@gnu.org Date: Sunday, April 11, 2010, 6:36 AM On Sat, Apr 10, 2010

Re: transparent background in lilypond generated png's

2010-04-10 Thread Stephen Corey
On 04/10/2010 09:36 PM, Patrick McCarty wrote: On Sat, Apr 10, 2010 at 8:24 PM, Jonathan Wilkesjancs...@yahoo.com wrote: Hello, I was curious if the transparent background for png output ever got implemented. I'm using little lilypond excerpts for a webpage I just started working on, and

Re: transparent background in lilypond generated png's

2008-08-31 Thread Stephen Corey
On Mon, 25 Aug 2008 17:00:02 +, Stephen Corey wrote: Hello, I've been using Lilypond regularly for several years now with great satisfaction. Recently, I've begun using lilypond generated png files in powerpoint presentations and I'd like to know if there is a way to generate these

Re: transparent background in lilypond generated png's

2008-08-29 Thread Wilbert Berendsen
Op maandag 25 augustus 2008, schreef Gilles Sadowski:  $ convert test.png -transparent white test_tr.png This will convert 'white' to '100% transparent', but not the shades of grey created by the anti-aliasing algorithms in ghostscript. After long fiddling I found a way to convert every shade

Re: transparent background in lilypond generated png's

2008-08-29 Thread Johan Vromans
Wilbert Berendsen [EMAIL PROTECTED] writes: Op maandag 25 augustus 2008, schreef Gilles Sadowski:  $ convert test.png -transparent white test_tr.png This will convert 'white' to '100% transparent', but not the shades of grey created by the anti-aliasing algorithms in ghostscript. I'd

Re: transparent background in lilypond generated png's

2008-08-29 Thread Han-Wen Nienhuys
On Fri, Aug 29, 2008 at 7:08 AM, Johan Vromans [EMAIL PROTECTED] wrote: I'd advise to generate postscript, and then convert the postscript to png (with transparancy!) using gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha \ -sOutputFile=score-page%1.png -r101 score.ps (For the best

Re: transparent background in lilypond generated png's

2008-08-29 Thread Han-Wen Nienhuys
On Fri, Aug 29, 2008 at 10:50 AM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 7:08 AM, Johan Vromans [EMAIL PROTECTED] wrote: I'd advise to generate postscript, and then convert the postscript to png (with transparancy!) using gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha

Re: transparent background in lilypond generated png's

2008-08-29 Thread Chris Snyder
Han-Wen Nienhuys wrote: How does IE deal with pngalpha images today? According to the top Google hit I came across for png alpha ie, IE7 does support PNG alpha (http://www.howtocreate.co.uk/alpha.html). -Chris ___ lilypond-user mailing list

Re: transparent background in lilypond generated png's

2008-08-29 Thread Valentin Villenave
2008/8/29 Chris Snyder [EMAIL PROTECTED]: According to the top Google hit I came across for png alpha ie, IE7 does support PNG alpha (http://www.howtocreate.co.uk/alpha.html). IE6 is still widely used though (30 to 60% of the users depending on the stats I've found). That said, IIRC at worse

Re: transparent background in lilypond generated png's

2008-08-29 Thread Han-Wen Nienhuys
According to google analytics on lilypond.org - 25% uses IE of which 65% uses IE7. On Fri, Aug 29, 2008 at 12:11 PM, Valentin Villenave [EMAIL PROTECTED] wrote: 2008/8/29 Chris Snyder [EMAIL PROTECTED]: According to the top Google hit I came across for png alpha ie, IE7 does support PNG

Re: transparent background in lilypond generated png's

2008-08-29 Thread Johan Vromans
Valentin Villenave [EMAIL PROTECTED] writes: That said, IIRC at worse IE6 flattens PNG images on an ugly grey background, so I think LilyPond snippets would still be readable (however ugly). It's easier to add a white background to a transparent PNG than to remove a background from a PNG. So

Re: transparent background in lilypond generated png's

2008-08-29 Thread Chris Snyder
Han-Wen Nienhuys wrote: According to google analytics on lilypond.org - 25% uses IE of which 65% uses IE7. So, 8.75% use IE6. Given that the fallback in IE6 is still usable (albeit ugly) and that that percentage will only continue to drop, it sounds to me like now is as good a time as any to

Re: transparent background in lilypond generated png's

2008-08-29 Thread Francisco Vila
2008/8/29 Wilbert Berendsen [EMAIL PROTECTED]: After long fiddling I found a way to convert every shade of grey to black with a corresponding percentage of transparency: Great! for occasional, single images it would be worth to mention that the GIMP can do this in a very easy way: colors --

Re: transparent background in lilypond generated png's

2008-08-29 Thread Han-Wen Nienhuys
On Fri, Aug 29, 2008 at 12:45 PM, Chris Snyder [EMAIL PROTECTED] wrote: Perhaps it might be a good idea to still allow PNG16 as an option, though, for users that are posting images to their own web sites? I'm sure that most sites see a much higher percentage of IE6 users. Otherwise, I'm sure

Re: transparent background in lilypond generated png's

2008-08-29 Thread Neil Puttock
2008/8/29 Han-Wen Nienhuys [EMAIL PROTECTED]: WE could softcode the pixmap format, so it can be set as -dpixmap-format=png16m patches appreciated! Since I've been staring at lily.scm rather a lot recently, I couldn't help noticing the following: (pixmap-format png16m GS format to use

Re: transparent background in lilypond generated png's

2008-08-29 Thread Patrick Horgan
Han-Wen Nienhuys wrote: commit 7f595671928233af9d1c76c5cb400f2010c65b72 Author: hanwen hanwen Date: Mon Sep 5 14:12:00 2005 + (make-ps-images): use png16m again, for sake of IE users. How does IE deal with pngalpha images today? They support it in IE7 and forward. Patrick

Re: transparent background in lilypond generated png's

2008-08-29 Thread Patrick Horgan
Han-Wen Nienhuys wrote: According to google analytics on lilypond.org - 25% uses IE of which 65% uses IE7. Why that means 8.75% of the people could potentially think png sucks.  For my web site I use png on the theory that if people are still using ie6 they should upgrade.  For a

transparent background in lilypond generated png's

2008-08-25 Thread Stephen Corey
Hello, I've been using Lilypond regularly for several years now with great satisfaction. Recently, I've begun using lilypond generated png files in powerpoint presentations and I'd like to know if there is a way to generate these files with a transparent (rather than white) background so I

Re: transparent background in lilypond generated png's

2008-08-25 Thread Gilles Sadowski
Hello. I've been using Lilypond regularly for several years now with great satisfaction. Recently, I've begun using lilypond generated png files in powerpoint presentations and I'd like to know if there is a way to generate these files with a transparent (rather than white) background so

Re: transparent background in lilypond generated png's

2008-08-25 Thread Jonathan Kulp
That's awesome!! Thanks! Jonathan Gilles Sadowski wrote: Hello. I've been using Lilypond regularly for several years now with great satisfaction. Recently, I've begun using lilypond generated png files in powerpoint presentations and I'd like to know if there is a way to generate these