Issue with cropped PNG export in version 2.26.0

Lodewijk de Vries-van Hoeijen <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CABfmf87OEoSEiRR452maZV7=hNstwY6gF4PoyBX7rNVv=HcETQ@mail.gmail.com>
Hi everyone,

I use LilyPond (via Frescobaldi) to create small sheet music snippets
without any surrounding whitespace, which I use in my classes as a music
teacher.

Until recently, I was using version 2.24.4, where the following snippet
gave me the desired output:

--

% Version number
\version "2.24.4"

% Export as a small image without whitespace
\include "lilypond-book-preamble.ly"
%#(ly:set-option 'separate-page-formats 'png) % each staff line in a new
file
#(ly:set-option 'tall-page-formats 'png) % all staff lines in a single file
% End of export snippet

--

I have recently updated LilyPond to the latest version (currently 2.26.0),
and the code above no longer works as expected.

I have attached a code example that I typically use, along with the desired
output (generated with version 2.24.4) and the current output I am getting
with version 2.26.0.

I am looking for the correct code or settings to include so that I can once
again export perfectly cropped PNGs via Frescobaldi, containing one or
multiple staff lines in a single file.

Please note that I use LilyPond and Frescobaldi on both Windows 11 and
macOS, and I do not use the command line due to restrictions on my work
devices.

I would be very grateful if anyone on this mailing list could help me find
a solution. Thank you in advance for your time and help!

Best regards,
Lodewijk
LilyPond 2.24.4 old.ly (application/x-frescobaldi-ly, 1.3 KB) - not displayed
LilyPond 2.24.4 old.png (image/png, 43.9 KB) - not displayed
LilyPond 2.26.0 new error-page2.png (image/png, 130.8 KB) - not displayed
LilyPond 2.26.0 new error-page1.png (image/png, 132 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.