lilypond-user
[Top][All Lists]

Re: output png

 From: Han-Wen Nienhuys Subject: Re: output png Date: Wed, 31 Jul 2002 12:03:54 +0200

> > I'd like to output a small snippet of score as a png image (discussing the
> > range of a cello, \score{\notes{a'''}}} ).  Is there a nice way to do this?
> > I can go from dvi to ps to png, but surely there's an easier way to generate
> > graphics (given how many are on the website!)
> >
> > Thanks,
> > - Graham Percival
>
> I think that the `--preview' option of ly2dvi could be useful in your
> case: it will render a PNG preview of the first line of your score. You
> can use `--preview-resolution=RES' to select the resolution you want.

Yes. Note that --preview exactly does what Graham suggests: dvi -> ps
-> png.

--
Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/