On Thu 2017-01-19 15:07:12 -0500, Bob Friesenhahn wrote:
> On Thu, 19 Jan 2017, Daniel Kahn Gillmor wrote:
>>       -operator channel operator rvalue[%]
>>              apply a mathematical, bitwise, or value  operator  to  an  image
>>              channel
>>
>> But:
>>
>> 0 dkg@alice:~$ gm convert /usr/share/pixmaps/debian-logo.png -operator all 
>> invert '100%' foo.png
>> gm convert: Unrecognized operator (-operator).
>> 1 dkg@alice:~$
>>
>> Somehow this functionality is missing from the compiled build!
>
> The 'invert' keyword sounds useful but the GraphicsMagick 
> documentation specifies to use 'Negate' for this purpose.

d'oh!  so it does.

> This is not a bug.

please consider it a wishlist bug about the error message, then.  In
particular, the error message:

    gm convert: Unrecognized operator (-operator).

reads to me like gm doesn't know what to do with "-operator".  I woul
dhave expected it to say:

    gm convert: Unrecognized operator "invert"

or:

    gm convert: Unrecognized operator "invert" (-operator)


or something to indicate that (-operator) is the origin of the message,
rather than the subject of it.

thanks for pointing out my goof, though!

       --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to