Crates.io | image-base64 |
lib.rs | image-base64 |
version | 0.1.0 |
source | src |
created_at | 2017-03-05 01:44:51.639004 |
updated_at | 2017-03-05 01:44:51.639004 |
description | Imaging library written in Rust. Provides basic filters and decoders for the most common image formats. |
homepage | |
repository | https://github.com/katsumeshi/image-base64-rs.git |
max_upload_size | |
id | 8818 |
size | 66,166 |
#image-base64-rs
Convert image to base64, and vise versa
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);
}
cargo install --git https://github.com/katsumeshi/image-base64-rs.git image-base64-rs
MIT