package camlimages

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Exif.DataSource

Sourcetype t

Raw EXIF data in C

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

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

Sourceval format : Format.formatter -> t -> unit
Sourcetype contents = {
  1. ifd_0 : Content.t option;
  2. ifd_1 : Content.t option;
  3. exif : Content.t option;
  4. gps : Content.t option;
  5. interop : Content.t option;
}

Partially parsed EXIF data

Sourceval contents : t -> contents

Partially parse the raw EXIF to bunch of Contents.t

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

Get Contents.t of the specific field

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

Get and parse the specific field

OCaml

Innovation. Community. Security.