2022-12-23 14:29:47 +00:00
|
|
|
type t =
|
|
|
|
{width : int;
|
|
|
|
height : int;
|
|
|
|
idat : Pdfio.bytes}
|
|
|
|
|
|
|
|
exception BadPNG of string
|
|
|
|
|
|
|
|
(* Read a non-interlaced, non-transparent 24 bit PNG for inclusion in a PDF
|
|
|
|
file. Raises BadPNG on failure. *)
|
|
|
|
val read_png : Pdfio.input -> t
|