FormatParser.Image (format_parser v1.4.0)

An Image struct and functions.

The Image struct contains the fields format, width_px, height_px, intrinsics and nature.

Link to this section Summary

Functions

Parses a file and extracts some information from it.

Link to this section Functions

Parses a file and extracts some information from it.

Takes a binary file as argument.

Returns a struct which contains all information that has been extracted from the file if the file is recognized.

Returns the following tuple if file not recognized: {:error, file}.