Rust Image API

Fast image manipulation API in Rust

Deploy Rust Image API

image-server

arjunkomath/rust-image-api

Just deployed

A fast image manipulation API that can modify images on the fly.

Usage

GET /v1/resize/w/?url=
    resize image `` pixels wide, without changing the aspect ratio

GET /v1/resize/h/?url=
    resize image to `` pixels tall, without changing the aspect ratio

GET /v1/crop////?url=
    crop image to ``x`` pixels, starting from position (``, ``)

GET /v1/convert/?url=
    convert image to `` format
    format: png, jpeg, webp

GET /v1/flip/?url=
    flip image  to `` orientation
    orientation: horizontal, vertical

GET /v1/grayscale?url=
    convert image to grayscale

GET /v1/invert?url=
    invert image

GET /v1/brighten/?url=
    brighten image by ``, negative values decrease the brightness and positive values increase it

GET /v1/blur/?url=
    blur image with `` sigma (this is a slow endpoint and could potentially timeout)

GET /v1/rotate/?url=
    rotate image by `` degrees, degree can be 90, 180, 270

GET /v1/unsharpen//?url=
    unsharpen image, sigma is the amount to blur the image by, threshold is a control of how much to sharpen.

Template Content

More templates in this category

View Template

Foundry Virtual Tabletop

A Self-Hosted & Modern Roleplaying Platform


View Template

(v1) Simple Medusa Backend

Deploy an ecommerce backend and admin using Medusa


View Template

peppermint

Docker-compose port for peppermint.sh