lilypond-user
[Top][All Lists]
Advanced

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

RE: PNG output


From: jschlomann
Subject: RE: PNG output
Date: Thu, 2 Mar 2023 15:11:40 -0600

I do want multiple pages, i.e. a separate file for each page. I tried the script idea, and it is working great! I have exactly what I need. I will try the ‘tall-page-formats’ option when I upgrade to 2.24.

Thank you both!

John

 

From: Jean Abou Samra <jean@abou-samra.fr>
Sent: Thursday, March 2, 2023 3:03 PM
To: K. Blum <benbignoise@gmx.de>; lilypond-user@gnu.org; jschlomann@astound.net
Subject: Re: PNG output

 

Le jeudi 02 mars 2023 à 15:52 +0100, K. Blum a écrit :

Hi John,

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


reply via email to

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