Skip to content

SteelAlloy/thumbor-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Thumbor client

Repository Crates.io Version docs.rs Crates.io MSRV

Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It features a very smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms

This library is a Rust client implementation of the Thumbor image service to generate image urls.

Usage

use thumbor::Server;

let server = Server::new("http://localhost:8888", "my-security-key").unwrap();

let endpoint = server.endpoint_builder()
    .resize((300, 200))
    .smart(true)
    .build();

let url = endpoint.to_url("path/to/my/image.jpg");

About

Rust client for the Thumbor image service. Provides a convenient builder API

Topics

Resources

License

Stars

Watchers

Forks