Module Cpdfpng

Read PNG files

type t = {
  1. width : int;
  2. height : int;
  3. idat : Pdfio.bytes;
}

PNG files, represented only to the extent required to insert as PDF image objects

val read_png : Pdfio.input -> t

Read a non-interlaced, non-transparent 24 bit PNG for inclusion in a PDF file.