File: cpdfpng.mli

package info (click to toggle)
cpdf 2.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,828 kB
  • sloc: ml: 34,724; makefile: 65; sh: 45
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