没有合适的资源?快使用搜索试试~ 我知道了~
colorcube-js:从RGB图像中提取主要颜色-Ole Krause-Sparman算法的DOM端口
共13个文件
js:4个
md:2个
map:2个
需积分: 9 0 下载量 37 浏览量
2021-05-20
08:23:36
上传
评论
收藏 245KB ZIP 举报
温馨提示
colorcube.js 这是Ole Krause-Sparmann撰写的JavaScript端口。 您可以在找到有关其工作方式的出色说明 ColorCube用于从RGB图像中提取主要颜色。 给定一个图像元素,它将返回十六进制颜色的排序数组。 用法 var cc = new ColorCube ( // all arguments are optional; these are the defaults: 20 , // color-space resolution 0.2 , // brightness threshold 0.4 // distinctness threshold ) ; var image = document . getElementById ( "image" ) ; var colors = cc . get_colors ( image
资源推荐
资源详情
资源评论
收起资源包目录
colorcube-js-gh-pages.zip (13个子文件)
colorcube-js-gh-pages
index.html 1KB
Gruntfile.js 1KB
src
colorcube.js 9KB
images
andrew-monks.png 173KB
cocacola.jpg 47KB
LICENSE.md 785B
README.md 2KB
dist
colorcube.js.map 18KB
colorcube.min.js.map 22KB
colorcube.min.js 4KB
colorcube.js 12KB
.gitignore 29B
package.json 232B
共 13 条
- 1
资源评论
YuanAndy
- 粉丝: 35
- 资源: 4491
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功