On 2009-08-23, Alexander Kobel wrote:
> Werner LEMBERG wrote:
> >[Sorry if this has already been dealt with; I'm abroad, with no access
> >to the internet.]
> >
> >This change
> >
> >+    convert -depth 8 \
> >                -alpha Off \
> >                -background white \
> >                -layers flatten \
> >                -trim \
> >                +repage \
> >                $< $@
> >
> >isn't understood by `convert' version 6.4.3 -- the `+repage' option
> >fails.  Is this a typo?
> 
> That's strange. +repage should be supported from IM 6.1.0 on, AFAIK.
> What gets converted here?
> 
> It's definitely not a typo. But if I get it right, it's just a
> shortcut for -page +0+0. (At least for BMP/GIF/PNG output; tested
> here using IM 6.4.5, Ubuntu Jaunty build, on PNGs.)
> 
> Note that +repage is not (yet?) supported in the GraphicsMagick fork
> (which is the default replacement package at least in Ubuntu), while
> -page is. So to the best of my knowledge, using -page +0+0 is both
> an equivalent and more portable option, anyway.

Okay, thanks.  I'll change it once I can verify.

BTW, if anyone can find a better set of options for "convert", please
let me know.  imagemagick has major problems with SVG->PNG conversion,
which is why I added all of these other flags.


-Patrick


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to