Project

identify

0.0
No commit activity in last 3 years
No release in over 3 years
Image identification in pure Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
 Project Readme

Identify

A pure ruby image identification library.

Install

gem install identify

Supported Formats

BMP, PNG, JPG, GIF, XPM, PPM, PGM, PNM, PBM, XBM, TIFF

Example

require 'identify'

p Identify.image File.binread("test/images/test.png", 1024)

Output

{:width=>253, :height=>178, :format=>"png"}

Testing

Tests require a local installation of ImageMagick and identify to be in your $PATH

TODO

Channel type, Depth, Colorspace and Resolution.

See Also

http://rubygems.org/gems/imagesize

License

MIT