Page 1 of 1

How to use -magnify?

Posted: 2014-12-07T06:48:06-07:00
by holden
This bit of code gives me an error:

Code: Select all

convert image.png -magnify imagebig.png
I get this:
convert: unrecognized option `-magnify' @ error/convert.c/ConvertImageCommand/2030.
From what I can tell no value is needed after the -magnify command, based on the limited info availble here and in the manual. I only want to do a 2x scale. Thanks!

Re: How to use -magnify?

Posted: 2014-12-07T07:37:00-07:00
by snibgo
It works fine for me, IM v6.9.0-0. Perhaps your version is too old.

Re: How to use -magnify?

Posted: 2014-12-07T11:52:08-07:00
by fmw42
How old is your version of IM? It may need a more current version of IM. Please, when posting a questions, always identify you version of IM and platform.

Re: How to use -magnify?

Posted: 2017-07-06T06:02:59-07:00
by aigo
trying to use the same command by OP on IM version 7.0.06-0 and still get the same error. Is it discontinued in this version or an alternative exists? Please help!

Re: How to use -magnify?

Posted: 2017-07-06T09:03:50-07:00
by fmw42
Works fine for me on IM 6.9.8.10 Q16 non-HDRI Mac OSX and IM 7.0.6.1 Q16 HDRI Mac OSX. The -magnify option was created in more recent versions of ImageMagick, although I cannot find a record where that started in the changelog. So it won't work on very old versions of IM 6.

It works fine in IM 7, but note you need to use "magick" rather than "convert"

Re: How to use -magnify?

Posted: 2017-07-25T14:57:58-07:00
by aigo
Thanks...Just seeing this reply, eventually had to call a script implementing the xBR algorithm. awesome result!