immeta, an image metadata inspection library in Rust
immeta is an image metadata processing library. It allows you to inspect metadata, that is, image dimensions, color information, etc. of various image formats.
Currently the following image formats are supported:
- PNG 1.2
- GIF (87a and 89a)
Support for more will come in future versions.
Important note: this library is not intended to load actual image contents, i.e. the pixel data. If you need this functionality, consider using other libraries like image.
Just add a dependency to your
[dependencies] immeta = "0.4"
You can see an example on how to use it in
- Updated num-traits dependency to 0.2.
- Updated arrayvec dependency to 0.4.
- Updated byteorder dependency to 1.0.
- Improved JPEG format parser, it now should be panic-free.
- Switched to num_traits dependency from just num. num_traits is only used in a limited way, so this doesn't seem to be a breaking change.
- Bumped byteorder dependency to 0.5.
- Now WEBP parser does not panic on yet unsupported VP8 chunk types but returns an error instead.
- Added unknown disposal method for GIF format. This is a breaking change.
- Fixed GIF local color table parsing.
- Bumped byteorder dependency up to 0.4.
- Added missing
immeta::Errorto facilitate interoperation with other code.
- Added basic support for WEBP format, along with RIFF utils.
- Improved API.
- Initial release, support for GIF, PNG and JPEG.
This library is licensed under MIT license.
Copyright (c) Vladimir Matveev, 2015