lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating PNG output of music snippets is always the size of a page


From: Mats Bengtsson
Subject: Re: Creating PNG output of music snippets is always the size of a page
Date: Thu, 27 Jul 2006 22:58:06 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

As long as it's a single line score, try the --preview option.

  /Mats

Quoting Charles Cave <address@hidden>:

When I run lilypond with the --png command line switch, the generated
PNG file is the size of the printed page. How can I make this image small enough
so the image is cropped?  It is rather tedious to open the file with GIMP and
manually crop the image.

The image created from the input file below was 859 x 1111 pixels
(8.506 x 11.001 inches ... obviously the page size).

I am running LilyPond 2.8.3 on Windows XP

E:\>lilypond --png  noscore.ly
GNU LilyPond 2.8.3
Processing `noscore.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects...
Calculating line breaks... [2]
Calculating page breaks...
Layout output to `noscore.ps'...
Converting to PNG...


noscore.ly contains:

\version "2.8.3"

\score {
\context Staff \relative c'' { c8 c c16 c c c }
   \layout{
   \context {
     \Staff
     \remove Staff_symbol_engraver
   }
}
}





_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user








reply via email to

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