#base64 #image #decoder #filter #imaging #most #basic

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

#13 in #imaging

Download history 74/week @ 2023-12-18 27/week @ 2023-12-25 63/week @ 2024-01-01 50/week @ 2024-01-08 35/week @ 2024-01-15 70/week @ 2024-01-22 109/week @ 2024-01-29 59/week @ 2024-02-05 97/week @ 2024-02-12 154/week @ 2024-02-19 282/week @ 2024-02-26 186/week @ 2024-03-04 148/week @ 2024-03-11 103/week @ 2024-03-18 136/week @ 2024-03-25 178/week @ 2024-04-01

589 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