When convenient, would it be possible to add a string format %[type] to http://www.imagemagick.org/script/escape.php so that one can easily get the image type ( as in convert -list type ).
Bilevel
ColorSeparation
ColorSeparationAlpha
ColorSeparationMatte
Grayscale
GrayscaleAlpha
GrayscaleMatte
Optimize
Palette
PaletteBilevelAlpha
PaletteBilevelMatte
PaletteAlpha
PaletteMatte
TrueColorAlpha
TrueColorMatte
TrueColor
Curious also, but should there not be a type bilevelmatte? It is not listed or is it covered by PaletteBilevelAlpha and PaletteBilevelMatte
request string format for type
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: request string format for type
It was not added to IMv7!
Note Imv6 does not report this type of error, that is a IMv7 feature I added.
Code: Select all
magick rose: -print '%[type]\n' null:
magick: unknown image property "%[type]" @ warning/property.c/InterpretImageProperties/3263.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: request string format for type
Could be a version skew. It works for us:
- magick rose: -print '%[type]\n' null:
TrueColor