[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rendering png without page
From: |
Dmytro O. Redchuk |
Subject: |
Re: rendering png without page |
Date: |
Wed, 20 Jul 2011 09:17:44 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue 19 Jul 2011, 15:40 Phil Holmes wrote:
> Dmytro developed the following script for Ubuntu:
>
> #!/bin/bash
> #
> #
Here is the same script for Windows, btw:
https://raw.github.com/gperciva/lilypond-extra/master/bug-squad/trimtagline.bat
> ly=${1:?Usage: $0 test[.ly]}
>
> # strip extension, if any:
> lynoext=${ly%%.ly}
>
> # process test file:
> echo "\\header { tagline = ##f }" | lilypond -dinclude-settings=- --png $ly
>
> # trim PNG:
> convert ${lynoext}.png -trim ${lynoext}-trim.png
>
> # do we want to overwrite "original" PNG?
> # mv ${lynoext}-trim.png ${lynoext}.png
>
>
> This assumes you have imagemagick installed.
--
Dmytro O. Redchuk "Easy to use" is easy to say.
Bug Squad -- Jeff Garbers
- rendering png without page, bart deruyter, 2011/07/19
- Re: rendering png without page, Marek Klein, 2011/07/19
- Re: rendering png without page, Phil Holmes, 2011/07/19
- Re: rendering png without page,
Dmytro O. Redchuk <=
- Re: rendering png without page, Federico Bruni, 2011/07/19
- Re: rendering png without page, Neil Puttock, 2011/07/19
- Re: rendering png without page, Federico Bruni, 2011/07/19
- Re: rendering png without page, Carl Sorensen, 2011/07/19
- Re: rendering png without page, Marc Mouries, 2011/07/19
- RE: rendering png without page, James Lowe, 2011/07/20
- Re: rendering png without page, Carl Sorensen, 2011/07/20
- Re: rendering png without page, Phil Holmes, 2011/07/20
- Re: rendering png without page, Graham Percival, 2011/07/20
- RE: rendering png without page, James Lowe, 2011/07/20