camlimages

Image processing library
IN THIS PACKAGE
Module Exif . Data
type t

Raw EXIF data in C

val get_byte_order : t -> Endian.t
val set_byte_order : t -> Endian.t -> unit
val fix : t -> unit
val dump : t -> unit
val from_string : string -> t

Parse the raw string of EXIF data which starts with "Exif\000\000".

val format : Format.formatter -> t -> unit
type contents = {
ifd_0 : Content.t option;
ifd_1 : Content.t option;
exif : Content.t option;
gps : Content.t option;
interop : Content.t option;
}

Partially parsed EXIF data

val contents : t -> contents

Partially parse the raw EXIF to bunch of Contents.t

val get_ifd_0 : t -> Content.t option
val get_ifd_1 : t -> Content.t option
val get_exif : t -> Content.t option
val get_gps : t -> Content.t option
val get_interop : t -> Content.t option

Get Contents.t of the specific field

val unpack_ifd_0 : t -> Entry.unpacked_entry list option
val unpack_ifd_1 : t -> Entry.unpacked_entry list option
val unpack_exif : t -> Entry.unpacked_entry list option
val unpack_gps : t -> Entry.unpacked_entry list option
val unpack_interop : t -> Entry.unpacked_entry list option

Get and parse the specific field