package camlimages

  1. Overview
  2. Docs
Image processing library

Install

Dune Dependency

Authors

Maintainers

Sources

camlimages-5.0.2.tar.bz2
sha256=8a36e7d5636358db533de71e55533fc8118444c607355b68357e0e619f3ab1d4
md5=956fc1942a4b4c5da473ddcd9c9d028b

doc/camlimages.exif/Exif/Data/index.html

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 = {
  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

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

OCaml

Innovation. Community. Security.