lilypond-devel
[Top][All Lists]
Advanced

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

Re: `+repage' option for convert?


From: Patrick McCarty
Subject: Re: `+repage' option for convert?
Date: Sun, 23 Aug 2009 12:29:36 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

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




reply via email to

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