This application is still
slow af, do not use for production, inspired by Gojek's Darkroom
- Has same image transform function like Gojek's darkroom (75%)
- Implement channel for
&image
processing - Implement storage (custom storage)
- Response as image (with image mime type)
git clone https://github.com/codenoid/darkroom.rs
cd darkroom.rs
cargo run // accessible via localhost:3000/?path=./images/boris-satay.jpg&mono=true&flip=h
pathtoimg = ./images/boris-satay.jpg
original | /?path=pathtoimg;mono=true;flip=h |
---|---|
original | /?path=pathtoimg;flip=h;rotate=45 |
---|---|
original | /?path=pathtoimg;flip=v;rotate=90 |
---|---|
original | /?path=pathtoimg;emboss=true |
---|---|
original | /?path=pathtoimg;brightness=0.3 |
---|---|