File: cpdfpng.mli

package info (click to toggle)
cpdf 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,140 kB
  • sloc: ml: 35,825; makefile: 66; sh: 49
file content (12 lines) | stat: -rw-r--r-- 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
(** Read PNG files *)

(** PNG files, represented only to the extent required to insert as PDF image objects *)
type t =
  {width : int;
   height : int;
   bitdepth : int;
   colortype : int;
   idat : Pdfio.bytes}

(** Read a non-interlaced, non-alpha, non-palette PNG for inclusion in a PDF file. *)
val read_png : Pdfio.input -> t