Jean,

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 file.ly"). 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.

John

 

From: Jean Abou Samra <j...@abou-samra.fr> 
Sent: Saturday, February 25, 2023 4:34 PM
To: jschlom...@astound.net
Cc: lilypond-user@gnu.org
Subject: Re: PNG file output

 

Hi,

 

Please consider subscribing to the list 
(https://lists.gnu.org/mailman/listinfo/lilypond-user), 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, jschlom...@astound.net 
<mailto:jschlom...@astound.net>  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