Le jeudi 13 juillet 2023 à 08:33 +0200, Dr. Arne Babenhauserheide a écrit :
This is the lilypond-file in questoin:
https://hg.sr.ht/~arnebab/draketos-songbook/browse/delfini-tune.ly?rev=tip

Converted to PNG in a two step process:
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --pdf -o "$(basename "$i" .ly)"-lily $i
convert -density 600 "$(basename "$i" .ly)"-lily.pdf "$(basename "$i" .ly)".png

@lilypond-user: I didn’t find solutions, so I’m CC’ing you as those who
                might know. Can the page layout be changed to only the
                content, not the whole page?



Yes, but the exact way to do it depends on what exactly you want.

The -dbackend=eps option has been obsoleted in version 2.24 and is now handled in a way that is partly backwards compatible but not entirely. The up-to-date documentation on the family of options that replaces it is here:

https://lilypond.org/doc/v2.24/Documentation/usage/other-programs