2022-01-13 17:35:03 +01:00
|
|
|
(** Images *)
|
|
|
|
|
|
|
|
(** Extract images. *)
|
2023-11-10 14:46:52 +01:00
|
|
|
val extract_images : ?raw:bool -> ?path_to_p2p:string ->
|
|
|
|
?path_to_im:string ->
|
2021-12-21 15:57:42 +01:00
|
|
|
Cpdfmetadata.encoding -> bool -> bool -> Pdf.t -> int list -> string -> unit
|
2022-01-13 17:35:03 +01:00
|
|
|
|
|
|
|
(** Report image resolutions. *)
|
2021-12-21 16:25:59 +01:00
|
|
|
val image_resolution : Pdf.t -> int list -> float -> (int * string * int * int * float * float) list
|
2023-08-14 17:15:11 +02:00
|
|
|
|
2023-11-13 18:55:59 +01:00
|
|
|
(** List images in JSON format *)
|
|
|
|
val images : Pdf.t -> int list -> Cpdfyojson.Safe.t
|
|
|
|
|
2023-08-14 17:15:11 +02:00
|
|
|
(**/**)
|
|
|
|
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
|