lilypond-user
[Top][All Lists]
Advanced

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

Re: I don't understand how to get a png file in lilypond


From: Urs Liska
Subject: Re: I don't understand how to get a png file in lilypond
Date: Fri, 09 Aug 2013 16:32:57 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

If you run

lilypond -ddelete-intermediate-files --png $your-filename


you will get a png file as a result.
However I don't know how you can control its output size/resolution.


If you run LilyPond and pass it the -dpreview option on the command line
it will give you a nicely cropped pdf and png file of the first system.


HTH a little bit
Urs



Am 09.08.2013 16:25, schrieb address@hidden:
Hi- I was hoping to understand how to get PNG or something I could use in a html doc.  But I don't
Please point me to the most useful page in docs if possible.

Here's the test file
\version "2.16.1"
\header {
  title = ""
  composer = "Jay Hamilton"
    copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
\center-column
        {  "CC lic 2.5 some rights reserved Jay Hamilton 2013"
    "see http://creativecommons.org/licenses/by-nd/2.5/"
               } }
               }
%#(ly:set-option 'delete-intermediate-files #t)
#(set-default-paper-size "letter" 'landscape)
 #(set-global-staff-size 22)
 #(set! paper-alist (cons '("my size" . (cons (* 5 in) (* 3 in))) paper-alist))
  \paper
 {  #(set-paper-size "my size")
 indent = 30
 short-indent = 15
 right-margin = 30
 top-margin = 15
 bottom-margin = 15
 }

melody = \relative c'
{
\clef treble
\key c \major
\time 4/4
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\tempo 4=60
d4 e f g
 \bar "|."
}

\score {
\new Staff \melody
\layout {
\context {
\Staff \RemoveEmptyStaves
}
 }
\midi { }
}

This is on a win7 machine.
This webpage speaks to the issuebut is command line information that I don't understand.
basically I want to create a frame and insert a lilypond created piece into it.  I don't use latex or even openoffice but code the html straight up if that makes any sense.
Thanks in advance.
Jay
http://www.lilypond.org/doc/v2.16/Documentation/usage/lilypond-output-in-other-programs

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


reply via email to

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