|
From: | Jean Abou Samra |
Subject: | Re: PNG output |
Date: | Thu, 02 Mar 2023 22:02:57 +0100 |
User-agent: | Evolution 3.46.4 (3.46.4-1.fc37) |
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.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |