Interesting, thanks! I should move up to 2.24 anyhow.
John

-----Original Message-----
From: K. Blum <benbigno...@gmx.de> 
Sent: Thursday, March 2, 2023 8:53 AM
To: lilypond-user@gnu.org; jschlom...@astound.net; Jean Abou Samra 
<j...@abou-samra.fr>; benbigno...@gmx.de
Subject: Re: PNG output

Hi John,

Am 02.03.2023 um 15:16 schrieb 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.

Cheers,
Klaus


Reply via email to