On Mon 04 Jul 2011, 16:17 I wrote:
> For windows I would try to start with .cmd like this:
This seems to work (tested under VirtualBox, WinXP):
rem --------8<------------------
rem trimtagline.bat
rem
rem get only file name, no extension:
set LY=%~n1
echo \header { tagline = ##f } | lilypond -dinclude-settings=- --png %LY%
imconvert %LY%.png -trim %LY%-trim.png
rem --------8<------------------
Note, you need to copy/rename convert.exe to something like imconvert.exe
because windows already has convert.exe in the path.
--
Dmytro O. Redchuk
Bug Squad
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond