image-base64

Crates.ioimage-base64
lib.rsimage-base64
version0.1.0
sourcesrc
created_at2017-03-05 01:44:51.639004
updated_at2017-03-05 01:44:51.639004
descriptionImaging library written in Rust. Provides basic filters and decoders for the most common image formats.
homepage
repositoryhttps://github.com/katsumeshi/image-base64-rs.git
max_upload_size
id8818
size66,166
yukim (katsumeshi)

documentation

README

#image-base64-rs

Synopsis

Convert image to base64, and vise versa

Code Example

extern crate image_base64;

fn main() {
  let base64 = "base64 String";
  let image = image_base64::from_base64(base64);
  
  let image_path = "local image file path"
  let base64 = image_base64::to_base64(image_path); 
}

Installation

cargo install --git https://github.com/katsumeshi/image-base64-rs.git image-base64-rs

License

MIT

Commit count: 28

cargo fmt