[ImageMagick]显示图片颜色数量

系统管理自动化、图像处理(ImageMagick, WebP, nConvert)、文档转换(pandoc)、网络(wget, curl)
头像
523066680
Administrator
Administrator
帖子: 461
注册时间: 2016年07月19日 12:14
拥有现金: 锁定
储蓄: 锁定
Has thanked: 51 times
Been thanked: 90 times
联系:

[ImageMagick]显示图片颜色数量

帖子 #1 523066680 » 2019年03月28日 17:12

how to count unique colors in image ?

代码: 全选

identify -format %k filename


Post by boarders' paradise 2008-12-01T20:06:33-07:00
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 ...


Post by fmw42 2008-12-01T20:13:56-07:00
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

回到 “第三方命令行工具”

在线用户

用户浏览此论坛: 没有注册用户 和 0 访客