Re: Issue with cropped PNG export in version 2.26.0

David Wright <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
On Sat 20 Jun 2026 at 16:03:21 (+0200), Lodewijk de Vries-van Hoeijen wrote:
> 
> 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!

I think you may have forgotten to convert-ly your source with the
version of convert-ly bundled with LilyPond.

Cheers,
David.
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.