In 6.8.6.10 a new feature was added to identify to locate the position of the maximum value as follows
identify -define identify:locate=maximum -define identify:limit=7 rose:
Channel maximum locations:
Red: 46,8 47,8 49,9 50,9 51,9 52,9 53,9
Green: 61,11 64,11 61,12 62,12 62,13 63,13 65,14
Blue: 61,11 62,11 63,11 10,12 62,12 10,13 11,13
This no longer works as of IM 6.8.8.2 and was likely lost when identify -moments was added.
In IM 6.8.8.5 Q16 Mac OSX, I now get
rose:=>ROSE PPM 70x46 70x46+0+0 8-bit sRGB 9.67KB 0.000u 0:00.159
There also appears to be a bug in the 6.8.6.10 version. It does not allow the use of MPC format.
convert rose: rose.mpc
im68610 identify -define identify:locate=maximum -define identify:limit=1 rose.mpc
identify: incompatible API `rose.mpc' @ error/mpc.c/ReadMPCImage/778.
identify maximum no longer working
Re: identify maximum no longer working
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.8-6 Beta, available by sometime tomorrow. Thanks.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: identify maximum no longer working
Code: Select all
-define identify:locate=maximum -define identify:limit=7
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: identify maximum no longer working
see http://www.imagemagick.org/script/comma ... php#definesnibgo wrote:Any other undocumented "-defines"?
though probably not a complete list.
Also see http://www.imagemagick.org/script/formats.php#supported. Some are listed with each relevant image format
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: identify maximum no longer working
Thanks, yes I knew about those two. Magick pointed me to the "identify" page, which has these options. I hadn't thought of looking there.
As we can't do "convert -list define", it would be neat if all the defines could be mentioned on a single page, probably the command page.
As we can't do "convert -list define", it would be neat if all the defines could be mentioned on a single page, probably the command page.
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: identify maximum no longer working
I have been trying to add them as I learn about them. I did not include the ones for identify, because the page is for convert -defines.snibgo wrote:Thanks, yes I knew about those two. Magick pointed me to the "identify" page, which has these options. I hadn't thought of looking there.
As we can't do "convert -list define", it would be neat if all the defines could be mentioned on a single page, probably the command page.
There are a bunch more on the distort page from Anthony.