package camlpdf

  1. Overview
  2. Docs
type encoding =
  1. | ASCIIHex
  2. | ASCII85
  3. | RunLength
  4. | Flate
type predictor =
  1. | TIFF2
  2. | PNGNone
  3. | PNGSub
  4. | PNGUp
  5. | PNGAverage
  6. | PNGPaeth
  7. | PNGOptimum
exception Couldn'tDecodeStream of string
exception DecodeNotSupported of string
val encode_pdfstream : Pdf.t -> encoding -> ?predictor:predictor -> ?predictor_columns:int -> Pdf.pdfobject -> unit
val decode_pdfstream : Pdf.t -> Pdf.pdfobject -> unit
val decode_pdfstream_onestage : Pdf.t -> Pdf.pdfobject -> unit
val decode_pdfstream_until_unknown : Pdf.t -> Pdf.pdfobject -> unit
val decode_from_input : Pdfio.input -> Pdf.pdfobject -> Pdfio.bytes option
val string_of_pdf : (Pdf.pdfobject -> string) Pervasives.ref
val flate_level : int Pervasives.ref
val encode_flate : Pdfio.bytes -> Pdfio.bytes
OCaml

Innovation. Community. Security.