https://github.com/hentioe/cicr
Image hosting service with a lot of functions(resize/blur/crop) built in
https://github.com/hentioe/cicr
crystal file-hosting image-processing
Last synced: 12 months ago
JSON representation
Image hosting service with a lot of functions(resize/blur/crop) built in
- Host: GitHub
- URL: https://github.com/hentioe/cicr
- Owner: Hentioe
- Created: 2019-03-23T13:25:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T12:25:58.000Z (over 6 years ago)
- Last Synced: 2025-06-05T22:02:03.567Z (about 1 year ago)
- Topics: crystal, file-hosting, image-processing
- Language: HTML
- Homepage: https://cicr.bluerain.io
- Size: 874 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 本项目已死,请转向新项目: [Veemoe Cloud](https://github.com/Hentioe/veemoe-cloud)
# CICR Core Server [](https://github-ci.bluerain.io/Hentioe/cicr)
内置常用函数的图片托管服务器

## 使用
* 通过 `resize` 函数指定图片的高度和宽度(150x150)
`https://cicr.bluerain.io/display/demo.jpg?processes=resize.w_150,h_150`
* 保留纵横比例缩放图片(限制宽度为 150, 高度自适应)
`https://cicr.bluerain.io/display/demo.jpg?processes=resize.w_150`
* 通过 `blur` 函数模糊图片(Sigma: 1)
`https://cicr.bluerain.io/display/demo.jpg?processes=blur.s_1`
* 通过 `crop` 函数剪裁图片(垂直高度: 100, 水平宽度: 100, 纵坐标: 50, 横坐标: 50)
`https://cicr.bluerain.io/display/demo.jpg?processes=crop.h_100,w_100,y_50,x_50`
* 使用管道 `|` 组合函数
`https://cicr.bluerain.io/display/demo.jpg?processes=crop.y_50,w_200,h_150,h_150|blur.s_3.5|resize.w_100`
## TODO
* [ ] 增加 `ascii` 函数将图片转换为文本字符
* [ ] 后台功能