-silent

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

-silent

Post by snibgo »

There is a "-silent" option, according to the documentation http://www.imagemagick.org/script/comma ... php#silent

But it causes a fail, in v6.9.2-5 and v7:

Code: Select all

convert rose: -silent r.png

convert.exe: unrecognized option `-silent' @ error/convert.c/ConvertImageCommand
/2950.
snibgo's IM pages: im.snibgo.com
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: -silent

Post by glennrp »

It's not listed as a "convert" option, though: http://www.imagemagick.org/script/convert.php

Looking at the source code,
In magick/option.c: { "-silent", 1L, NonConvertOptionFlag, MagickFalse },
In magick/option.h: NonConvertOptionFlag = 0x4000, /* Option not used by Convert */

Only the "import" tool seems to accept the "-silent" option.
Last edited by glennrp on 2016-03-17T11:22:15-07:00, edited 1 time in total.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: -silent

Post by snibgo »

Ah, so it isn't, thanks. Perhaps that point could be made in the documentation http://www.imagemagick.org/script/comma ... php#silent , which does say:
Unless otherwise noted, each option is recognized by the commands: convert and mogrify.
snibgo's IM pages: im.snibgo.com
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: -silent

Post by glennrp »

I've edited the source file accordingly for the commandline options page.
Post Reply