Imghist
Build hue histograms and color pies from png files.
Install / Use
/learn @tylerneylon/ImghistREADME
imghist.py
This is a python script to generate hue histograms and color pies from color png images. Some sample output of this script is explained here:
http://tylerneylon.com/a/imghist/
installation
- Install pypng from here:
http://code.google.com/p/pypng/downloads/list
- Install pycairo from here:
http://cairographics.org/pycairo/
- Download or clone the python script from this github page:
https://github.com/tylerneylon/imghist
usage
./imghist.py [options] <input png> <output png>
For example, if you have a file named myImg.png, you could generate a color pie with surrounding hue histogram with this command:
./imghist.py -mboth -s600x600 myImg.png myHueHist.png
For more usage details, type:
./imghist.py -h
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
