19 lines
702 B
OCaml
19 lines
702 B
OCaml
(** Images *)
|
|
|
|
(** Extract images. *)
|
|
val extract_images : ?raw:bool -> ?path_to_p2p:string ->
|
|
?path_to_im:string ->
|
|
Cpdfmetadata.encoding -> bool -> bool -> Pdf.t -> int list -> string -> unit
|
|
|
|
(** Report image resolutions. *)
|
|
val image_resolution : Pdf.t -> int list -> float -> (int * string * int * int * float * float) list
|
|
|
|
(** List images in JSON format *)
|
|
val images : Pdf.t -> int list -> Cpdfyojson.Safe.t
|
|
|
|
(**/**)
|
|
val image_of_input : (Pdfio.bytes -> Pdf.pdfobject) -> Pdfio.input -> Pdf.t
|
|
val obj_of_jpeg_data : Pdfio.bytes -> Pdf.pdfobject
|
|
val obj_of_png_data : Pdfio.bytes -> Pdf.pdfobject
|
|
val obj_of_jbig2_data : ?global:int -> Pdfio.bytes -> Pdf.pdfobject
|