sig
  type t = {
    width : int;
    height : int;
    bitdepth : int;
    colortype : int;
    idat : Pdfio.bytes;
  }
  val read_png : Pdfio.input -> Cpdfpng.t
  val write_png : Cpdfpng.t -> Pdfio.output -> unit
end