[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: PNG file output

From: jschlomann
Subject: RE: PNG file output
Date: Thu, 2 Mar 2023 08:11:05 -0600


I’ve found your response, and I’ve updated my list subscription to my new email.


My reason for wanting this is that I need to generate several types of output based on some other settings in my input file. For example, I need PDF output for print, and PNG output in a couple different resolutions for projection on a screen. This is for use in a church.


One thought I had was to spawn another LilyPond so that I could specify command line options based on the settings in my input file. I haven’t been able to get this to work so far, for reasons I don’t understand. I tried this using (system "lilypond -fpng"). I also tried Guile’s system*, but got an unbind error. I’m using 2.22.2.


Thank you for your response, and apologies for missing it initially.



From: Jean Abou Samra <>
Sent: Saturday, February 25, 2023 4:34 PM
Subject: Re: PNG file output




Please consider subscribing to the list (, else your messages are approved manually and you might miss a reply if the person merely replies to the list without Ccing you. Thanks.


Le 25 févr. 2023 à 18:33, a écrit :

Is there a way to get png output using some internal setting? #(ly: set-option 'resolution 300) works fine, but only if I use the -fpng command line option. I need to set this conditionally in the .ly file. Any way to do this? Should I be looking at guile?



I'm afraid this can't be done without dirty tricks. Output formats are really tied to the command line. However, I think this might be an XY question. Could you elaborate on why you want to do this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]