erlang_exif (erlang_exif v3.1.1)
View SourceReads the Exif data from JPEG images.
Summary
Functions
Read the Exif data from a named file (or binary data) and return a a map with the read data.
Read the Exif data from a named file (or binary data) with data module specified.
Read the Exif data from a binary.
Read the Exif data from a binary and specify a data module.
Types
Functions
-spec read(File) -> {ok, ExifMap} | {error, Reason} when File :: file:filename_all(), ExifMap :: exif_map(), Reason :: term().
Read the Exif data from a named file (or binary data) and return a a map with the read data.
-spec read(File, ReturnType) -> {ok, Exif} | {error, Reason} when File :: file:filename_all(), ReturnType :: return_type(), Exif :: exif(), Reason :: term().
Read the Exif data from a named file (or binary data) with data module specified.
-spec read_binary(Data) -> {ok, Exif} | {error, Reason} when Data :: binary(), Exif :: exif(), Reason :: term().
Read the Exif data from a binary.
-spec read_binary(Data, ReturnType) -> {ok, Exif} | {error, Reason} when Data :: binary(), ReturnType :: return_type(), Exif :: exif(), Reason :: term().
Read the Exif data from a binary and specify a data module.