Docs: -define identify:stuff
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Docs: -define identify:stuff
In http://www.imagemagick.org/script/comma ... php#define , the new defines for "identify:locate=minimum" etc and "identify:limit=N" are not documented. Can they be included, please?
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Docs: -define identify:stuff
That is likely because the defines are for convert/magick and not identify/magick identify. See last example at http://www.imagemagick.org/script/identify.php
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Docs: -define identify:stuff
Ah, yes, I hadn't found them on the http://www.imagemagick.org/script/identify.php page, but I see it now.
I think it would be helpful if http://www.imagemagick.org/script/comma ... php#define listed all defines recognised by IM.
Those defines also work with "-identify" within a "convert" command, eg:
I think it would be helpful if http://www.imagemagick.org/script/comma ... php#define listed all defines recognised by IM.
Those defines also work with "-identify" within a "convert" command, eg:
Code: Select all
convert ^
rose: ^
( +clone -fill Pink -colorize 100 ) ^
-compose Difference -composite ^
-grayscale Average ^
-define identify:locate=minimum -define identify:limit=1 -identify ^
NULL:
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Docs: -define identify:stuff
I have added documentation for this to the options page. It may take a day or so to show up. But it can be used with both identify and convert/magick.
Channel maximum locations:
Gray: 65535 (1) 255,0 255,1 255,2
Channel maximum locations:
Gray: 65535 (1) 255,0 255,1 255,2
Code: Select all
convert -size 10x256 gradient: -rotate 90 grad.png
Code: Select all
identify -verbose -define identify:locate=maximum -define identify:limit=3 grad.png
Gray: 65535 (1) 255,0 255,1 255,2
Code: Select all
convert grad.png -verbose -define identify:locate=maximum -define identify:limit=3 info:
Gray: 65535 (1) 255,0 255,1 255,2