Liking cljdoc? Tell your friends :D

pdfplumber.image

Page raster rendering and visual debugging overlays.

Page raster rendering and visual debugging overlays.
raw docstring

copyclj

(copy pi)

Deep-copy a PageImage and its raster.

Deep-copy a PageImage and its raster.
sourceraw docstring

debug-tablefinderclj

(debug-tablefinder pi)
(debug-tablefinder pi table-settings)

Overlay detected edges, intersections, tables, and cells.

Overlay detected edges, intersections, tables, and cells.
sourceraw docstring

draw-circleclj

(draw-circle pi point)
(draw-circle pi [x y] opts)

Draw a circle centered at [x y].

Draw a circle centered at `[x y]`.
sourceraw docstring

draw-circlesclj

(draw-circles pi points)
(draw-circles pi points opts)

Draw a circle at each point in points.

Draw a circle at each point in `points`.
sourceraw docstring

draw-hlineclj

(draw-hline pi y)
(draw-hline pi y opts)

Draw a full-width horizontal rule at y.

Draw a full-width horizontal rule at `y`.
sourceraw docstring

draw-lineclj

(draw-line pi line)
(draw-line pi line opts)

Draw a line from two points, a bbox, or a line-object map.

Draw a line from two points, a bbox, or a line-object map.
sourceraw docstring

draw-rectclj

(draw-rect pi object)
(draw-rect pi object opts)

Draw a bbox or bounded object with optional fill and stroke.

Draw a bbox or bounded object with optional fill and stroke.
sourceraw docstring

draw-rectsclj

(draw-rects pi items)
(draw-rects pi items opts)

Draw each bbox or bounded object in items.

Draw each bbox or bounded object in `items`.
sourceraw docstring

draw-vlineclj

(draw-vline pi x)
(draw-vline pi x opts)

Draw a full-height vertical rule at x.

Draw a full-height vertical rule at `x`.
sourceraw docstring

outline-charsclj

(outline-chars pi)
(outline-chars pi opts)

Outline characters extracted from the PageImage source.

Outline characters extracted from the PageImage source.
sourceraw docstring

outline-wordsclj

(outline-words pi)
(outline-words pi opts)

Outline words extracted from the PageImage source.

Outline words extracted from the PageImage source.
sourceraw docstring

page-image?clj

(page-image? x)

True when x is a PageImage.

True when `x` is a PageImage.
sourceraw docstring

resetclj

(reset pi)

Re-render the PageImage source without overlays.

Re-render the PageImage source without overlays.
sourceraw docstring

saveclj

(save pi dest)

Write a PageImage as PNG and return the String or File destination.

Write a PageImage as PNG and return the String or File destination.
sourceraw docstring

showclj

(show pi)

Open a Swing preview window for a PageImage.

Open a Swing preview window for a PageImage.
sourceraw docstring

to-imageclj

(to-image source)
(to-image source opts)

Render a page or cropped page view as a PageImage.

Render a page or cropped page view as a PageImage.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close