Eikōn 


Eikōn is an image file parser. Feed it a PNG, JPG, and it will return informations about it.
Installation
def deps do
[{:eikon, "~> 0.0.2"}]
endUsage
Each file format is supported through a parser, for instance Eikon.PNG.Parser which contains the functions to work with it.
For the moment, the following formats are supported :
- PNG
-
GIF (Although
content/1could be improved) - JPEG
The Parser Behaviour
Every parser implements the Parser behaviour, which contains standard functions:
General Parsing
parse/1parse!/1
Magic number checking
magic?/1
Metadata extraction
infos/1
Returning the content of the image (without the metadata)
content/1content!/1