[ImageMagick]显示图片颜色数量

系统管理自动化、图像处理(ImageMagick, WebP, nConvert)、文档转换(pandoc)、网络(wget, curl)
回复
头像
523066680
Administrator
Administrator
帖子: 573
注册时间: 2016年07月19日 12:14
联系:

[ImageMagick]显示图片颜色数量

帖子 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]
回复

在线用户

正浏览此版面之用户: 没有注册用户 和 1 访客