/usr/lib/ocaml/cairo/cairo_png.mli is in libcairo-ocaml-dev 1:1.2.0-5.1.
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 | (**************************************************************************)
(* cairo-ocaml -- Objective Caml bindings for Cairo *)
(* Copyright © 2004-2005 Olivier Andrieu *)
(* *)
(* This code is free software and is licensed under the terms of the *)
(* GNU Lesser General Public License version 2.1 (the "LGPL"). *)
(**************************************************************************)
(** PNG reading/writing functions *)
val image_surface_create_from_channel :
in_channel -> Cairo.image_surface
val image_surface_create_from_file :
string -> Cairo.image_surface
external image_surface_create_from_stream :
(string -> unit) -> Cairo.image_surface = "ml_cairo_image_surface_create_from_png_stream"
val surface_write_to_channel :
[> `Any] Cairo.surface -> out_channel -> unit
val surface_write_to_file :
[> `Any] Cairo.surface -> string -> unit
external surface_write_to_stream :
[> `Any] Cairo.surface -> (string -> unit) -> unit = "ml_cairo_surface_write_to_png_stream"
|