#metadata #image #encoding #format

image-meta

Image meta information loader

3 releases

0.1.2 Oct 30, 2022
0.1.1 Apr 10, 2020
0.1.0 Apr 11, 2019

#783 in Images

Download history 16/week @ 2023-12-31 122/week @ 2024-01-07 25/week @ 2024-01-14 10/week @ 2024-01-21 16/week @ 2024-01-28 30/week @ 2024-02-04 23/week @ 2024-02-11 22/week @ 2024-02-18 42/week @ 2024-02-25 37/week @ 2024-03-03 25/week @ 2024-03-10 28/week @ 2024-03-17 16/week @ 2024-03-24 71/week @ 2024-03-31 7/week @ 2024-04-07 1/week @ 2024-04-14

96 downloads per month

MIT/Apache

2.5MB
615 lines

image-meta

Build status crates.io Documentation

Image meta data inspector for rust

Supported formats

Usage

[dependencies]
image-meta = "*"
use image_meta;

fn main() {
  let meta = image_meta::load_from_file("test-files/paw.png").unwrap();
  println!("dims: {}x{}", meta.dimensions.width, meta.dimensions.width);
  println!("animation: {:?}", meta.is_animation());
  println!("format: {:?}", meta.format);
}

Dependencies