#base64 #image #decoder #filter #format #imaging #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

#17 in #imaging

Download history 51/week @ 2024-11-16 70/week @ 2024-11-23 105/week @ 2024-11-30 139/week @ 2024-12-07 152/week @ 2024-12-14 46/week @ 2024-12-21 14/week @ 2024-12-28 77/week @ 2025-01-04 130/week @ 2025-01-11 93/week @ 2025-01-18 85/week @ 2025-01-25 123/week @ 2025-02-01 245/week @ 2025-02-08 82/week @ 2025-02-15 119/week @ 2025-02-22 56/week @ 2025-03-01

524 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
~161K SLoC