/usr/lib/ocaml/camlimages/graphic_image.mli is in libcamlimages-ocaml-dev 1:4.0.1-8build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | (***********************************************************************)
(* *)
(* Objective Caml *)
(* *)
(* François Pessaux, projet Cristal, INRIA Rocquencourt *)
(* Pierre Weis, projet Cristal, INRIA Rocquencourt *)
(* Jun Furuse, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1999-2004, *)
(* Institut National de Recherche en Informatique et en Automatique. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: graphic_image.mli,v 1.2 2009/02/08 15:00:49 weis Exp $ *)
(** Interface of images from this library to images of the Caml
[Graphics] library. *)
open Images;;
val draw_image : Images.t -> int -> int -> unit;;
(** Draw an [Images.t] value into the graphic window. *)
val get_image : int -> int -> int -> int -> Rgb24.t
(** [get_image x y w h] Capture the contents of a rectangle of the graphic
window with lower left corner at [x,y], width [w] and height [h] *)
(** lower interface *)
val array_of_image : Images.t -> Graphics.color array array;;
(** Convert an [Images.t] value to an array of colors. *)
val of_image : Images.t -> Graphics.image;;
(** Convert an [Images.t] value to a graphic image. *)
val image_of : Graphics.image -> Rgb24.t;;
(** Convert an [Graphics.image] value to *our* image *)
|