|
From: | Nick Payne |
Subject: | Re: creating images for web pages |
Date: | Mon, 08 Aug 2011 13:48:04 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 |
On 08/08/11 12:20, ed stuckems wrote:
Hello: I'm trying to create images of lilypond output to be included in web pages. I've been able to do it but the process is extremely labour intensive and I've got to believe there's a more efficient way. Can someone please comment on ways to improve my process or suggest a different strategy?
See http://lilypond.org/doc/v2.14/Documentation/usage/command_002dline-usage#command-line-options-for-lilypond
If your lilypond examples fit on one stave, then running lilypond --png -dpreview -dno-print-pages file.lywill generate file.preview.png, cropped to just that stave. If your examples are more than one stave, then remove the -dno-print-pages and -dpreview parameters and you will get one PNG image for each page of the score, which can be easily cropped with a graphics program.
[Prev in Thread] | Current Thread | [Next in Thread] |