Skip to content

codenoid/darkroom.rs

Repository files navigation

Darkroom Rust Version

This application is still slow af, do not use for production, inspired by Gojek's Darkroom

Roadmap

  • 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)

Example

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 Result
original /?path=pathtoimg;flip=h;rotate=45
Original Result
original /?path=pathtoimg;flip=v;rotate=90
Original Result
original /?path=pathtoimg;emboss=true
Original Result
original /?path=pathtoimg;brightness=0.3
Original Result

Releases

No releases published

Packages

No packages published

Languages