[Top][All Lists]

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

Re: `+repage' option for convert?

From: Alexander Kobel
Subject: Re: `+repage' option for convert?
Date: Sun, 23 Aug 2009 19:24:34 +0200
User-agent: Thunderbird (X11/20090817)

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.


reply via email to

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