module Cpdfimage:sig
..end
Images
val debug_image_processing : bool Stdlib.ref
Print info when processing image
val extract_images : ?raw:bool ->
?path_to_p2p:string ->
?path_to_im:string ->
Cpdfmetadata.encoding -> bool -> bool -> Pdf.t -> int list -> string -> unit
Extract images.
val image_resolution : Pdf.t ->
int list -> float -> (int * string * int * int * float * float * int) list
Report image resolutions.
val image_resolution_json : Pdf.t -> int list -> float -> Pdfio.bytes
Report image resolution data in JSON format
val images : Pdf.t -> int list -> Cpdfyojson.Safe.t
List images in JSON format
val process : q:float ->
qlossless:float ->
onebppmethod:string ->
jbig2_lossy_threshold:float ->
length_threshold:int ->
percentage_threshold:float ->
pixel_threshold:int ->
dpi_threshold:float ->
factor:float ->
interpolate:bool ->
path_to_jbig2enc:string ->
path_to_convert:string -> int list -> Pdf.t -> unit
Reprocess images. See manual for details.