Patrick McCarty wrote:
On 2009-10-27, Patrick McCarty wrote:
On 2009-10-26, Mark Freeman wrote:
Hi everyone. I'm new to lilypond, so please bare with me.  I've
written a simple python script which takes a very particular
percussion notation and converts it to lilypond format. My script pops
this into a template and calls the lilypond command to create the
export.  Currently this produces a full pdf and I know I can turn on
png export with --png. I tried setting the template to clip only one
measure, but I still get a full page of output, even though the score
only consist of a single measure. I'm looking to produce a simple
image file that is only the single measure, with no extra score text,
etc... Is this possible?
Does the following command accomplish what you need?

  $ lilypond --dpreview file.ly

Sorry, this should be

  $ lilypond -dpreview file.ly


-Patrick

Wow, I was looking for something like this, now I know how to create the .png of a minimal example without having to use Gimp:

lilypond -fpng -dpreview file.ly

NB: both normal and preview output files are created, the preview file (the cropped one) is saved with a .preview.png suffix.

Thanks Patrick
--
Federico Bruni  |  http://www.gnurag.net/blog/

LibrePlanet Italia
http://groups.fsf.org/wiki/LibrePlanetItalia



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to