分页: 1 / 1

[ImageMagick]显示图片颜色数量

发表于 : 2019年03月28日 17:12
523066680
how to count unique colors in image ?

代码: 全选

identify -format %k filename
Post by boarders' paradise 2008-12-01T20:06:33-07:00
[quote]thanks so much. Yes, that's exactly what I was looking for. I'm so happy, I'm glad you helped me.
Sorry, that I didn't understand it right away, but I had a look into the ImageMagick documentation and there it says:

identify -format

... where "format" is the image format type. So I thought I had to replace %k with the image format.
Where can I find this info (%k, etc.) ? I had been looking for this thoroughly ...[/quote][/size]


Post by fmw42 2008-12-01T20:13:56-07:00
[quote]see
http://www.imagemagick.org/script/escape.php
and all of Anthony's documentation at http://www.imagemagick.org/Usage/
and some of my links on the bottom my IM scripts home page at http://www.fmwconcepts.com/imagemagick/index.php[/quote][/size]