#base64 #image #filter #decoder #basic #format #imaging

image-base64

Imaging library written in Rust. Provides basic filters and decoders for the most common image formats.

1 unstable release

Uses old Rust 2015

0.1.0 Mar 5, 2017

#4 in #formats

Download history 124/week @ 2024-07-19 131/week @ 2024-07-26 152/week @ 2024-08-02 121/week @ 2024-08-09 80/week @ 2024-08-16 90/week @ 2024-08-23 110/week @ 2024-08-30 94/week @ 2024-09-06 64/week @ 2024-09-13 80/week @ 2024-09-20 76/week @ 2024-09-27 44/week @ 2024-10-04 39/week @ 2024-10-11 52/week @ 2024-10-18 64/week @ 2024-10-25 70/week @ 2024-11-01

230 downloads per month

MIT license

55KB

#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

Dependencies

~9MB
~160K SLoC