Bugs with %[...] string format IM 7.0.8.11 Q16 Mac OSX
Posted: 2018-08-30T19:32:21-07:00
All the following string format produce errors about
identify: unknown image property "%[XXX]" @ warning/property.c/InterpretImageProperties/3994.
magick identify -format "%[caption]\n" lena.jpg
magick identify -format "%[caption:pointsize]\n" lena.jpg
magick identify -format "%[colors]\n" lena.jpg
magick identify -format "%[deskew:angle]\n" lena.jpg
magick identify -format "%[distortion]\n" lena.jpg
magick identify -format "%[group]\n" lena.jpg
magick identify -format "%[label]\n" lena.jpg
magick identify -format "%[label:pointsize]\n" lena.jpg
magick identify -format "%[profile:icc]\n" lena.jpg
magick identify -format "%[profile:icm]\n" lena.jpg
magick identify -format "%[profiles]\n" lena.jpg
magick identify -format "%[rendering-intent]\n" lena.jpg
magick identify -format "%[zero]\n" lena.jpg
If some of these give such results simply because they are not relevant for the image, then it would seem to me that it should just say: undefined
These two give strange undefined values:
magick identify -format "%[printsize.x]\n" lena.jpg
2.56e+14
magick identify -format "%[printsize.y]\n" lena.jpg
2.56e+14
This one returns nothing:
magick identify -format "%[unique]\n" lena.jpg nothing
It seems to me that %{colors] and %[unique] should return something. If there are too many colors or too many unique colors, it should return some other error message, say, too many colors.
identify: unknown image property "%[XXX]" @ warning/property.c/InterpretImageProperties/3994.
magick identify -format "%[caption]\n" lena.jpg
magick identify -format "%[caption:pointsize]\n" lena.jpg
magick identify -format "%[colors]\n" lena.jpg
magick identify -format "%[deskew:angle]\n" lena.jpg
magick identify -format "%[distortion]\n" lena.jpg
magick identify -format "%[group]\n" lena.jpg
magick identify -format "%[label]\n" lena.jpg
magick identify -format "%[label:pointsize]\n" lena.jpg
magick identify -format "%[profile:icc]\n" lena.jpg
magick identify -format "%[profile:icm]\n" lena.jpg
magick identify -format "%[profiles]\n" lena.jpg
magick identify -format "%[rendering-intent]\n" lena.jpg
magick identify -format "%[zero]\n" lena.jpg
If some of these give such results simply because they are not relevant for the image, then it would seem to me that it should just say: undefined
These two give strange undefined values:
magick identify -format "%[printsize.x]\n" lena.jpg
2.56e+14
magick identify -format "%[printsize.y]\n" lena.jpg
2.56e+14
This one returns nothing:
magick identify -format "%[unique]\n" lena.jpg nothing
It seems to me that %{colors] and %[unique] should return something. If there are too many colors or too many unique colors, it should return some other error message, say, too many colors.