Qt:海天鹰取色器
Tofloor
poster avatar
海天鹰
deepin
2017-05-22 06:46
Author
本帖最后由 sonichy 于 2017-5-21 23:00 编辑


https://github.com/sonichy/HTYColorPicker
经过一段时间的测试,相当好用,网页取色的利器。

原理:热键启动全屏截图为QPixmap,QPixmap转QImage,QImage获取鼠标位置的颜色,转换成RGB和HEX,点击复制,粘贴使用。

优点:编译速度快,取色速度快,不需要点击鼠标,不影响桌面操作。纯Qt,代码超简单,堪称Qt入门范例。

缺点:需要激活窗体才能使用热键。


Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-05-22 17:26
#1
https://bbs.deepin.org/post/139783 这是要pk的节奏啊
Reply View the author
avatar
134******40
deepin
2017-05-22 20:15
#2
这个需要,界面设计时常需要取色
Reply View the author