#base64 #image #filter #decoder #basic #most #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

#14 in #imaging

Download history 132/week @ 2024-03-13 111/week @ 2024-03-20 157/week @ 2024-03-27 147/week @ 2024-04-03 113/week @ 2024-04-10 197/week @ 2024-04-17 203/week @ 2024-04-24 171/week @ 2024-05-01 154/week @ 2024-05-08 218/week @ 2024-05-15 282/week @ 2024-05-22 233/week @ 2024-05-29 198/week @ 2024-06-05 219/week @ 2024-06-12 149/week @ 2024-06-19 133/week @ 2024-06-26

725 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

~17MB
~155K SLoC