GithubHelp home page GithubHelp logo

immeta's Introduction

immeta, an image metadata inspection library in Rust

Build Status crates.io

Documentation

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:

  • JPEG
  • PNG 1.2
  • GIF (87a and 89a)
  • WEBP

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.

Usage

Just add a dependency to your Cargo.toml:

[dependencies]
immeta = "0.4"

You can see an example on how to use it in tests/test.rs.

Changelog

Version 0.4.0

  • Updated num-traits dependency to 0.2.

Version 0.3.6

  • Updated arrayvec dependency to 0.4.

Version 0.3.5

  • Updated byteorder dependency to 1.0.

Version 0.3.4

  • Improved JPEG format parser, it now should be panic-free.

Version 0.3.3

  • 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.

Version 0.3.2

  • Bumped byteorder dependency to 0.5.

Version 0.3.1

  • Now WEBP parser does not panic on yet unsupported VP8 chunk types but returns an error instead.

Version 0.3.0

  • Added unknown disposal method for GIF format. This is a breaking change.

Version 0.2.4

  • Fixed GIF local color table parsing.

Version 0.2.3

  • Bumped byteorder dependency up to 0.4.

Version 0.2.2

  • Added missing Debug, Clone, Eq and PartialEq implementations for GenericMetadata.

Version 0.2.1

  • Added std::error::Error implementation for immeta::Error to facilitate interoperation with other code.

Version 0.2.0

  • Added basic support for WEBP format, along with RIFF utils.
  • Improved API.

Version 0.1.0

  • Initial release, support for GIF, PNG and JPEG.

License

This library is licensed under MIT license.


Copyright (c) Vladimir Matveev, 2015

immeta's People

Contributors

netvl avatar jaysonsantos avatar mbrubeck avatar nox avatar eijebong avatar ms2ger avatar jmr0 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.