Le jeudi 02 mars 2023 à 15:52 +0100, K. Blum a écrit : > Hi John, > > Am 02.03.2023 um 15:16 schrieb > [lilypond-user-requ...@gnu.org](mailto:lilypond-user-requ...@gnu.org): > > > Is there any way to effect a "-fpng" using Scheme in an input file? > > > some time ago I asked for help for a similar problem. > This has been working for me: > > % --------------------------------------------- > \version "2.24.1" > #(ly:set-option 'resolution 300) > #(ly:set-option 'tall-page-formats 'png) > {c'} > % --------------------------------------------- > > But you will need Ly 2.23.5 or newer. > If you want to use lilypond-book-preamble.ly for cropped images, use > separate-page-formats instead of tall-page-formats.
Ah yes, that's right. For PNG output, normal output and separate-page output are more or less the same (since PNG files don't have multiple pages), so you can do that.
signature.asc
Description: This is a digitally signed message part