]> git.donarmstrong.com Git - lilypond.git/commitdiff
ps-to-png: use -depth 8 for imagemagick. Stops bulky 48-bit output files.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 13 Dec 2006 13:32:57 +0000 (14:32 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 13 Dec 2006 13:32:57 +0000 (14:32 +0100)
scm/ps-to-png.scm

index 212029ed176f28df16843203c8c198d8c0775695..2d429886f30b24ffd0b3f7bef81250e351b9b0f5 100644 (file)
     (rename-file file old)
     (my-system be-verbose
               #t
-              (format #f "convert -scale \"~a%\" ~a ~a" percentage old file))
+              (format #f "convert -scale \"~a%\" -depth 8 ~a ~a" percentage old file))
     (delete-file old)
     ))