Create Bookmarks From Images and Paths

Overview

Create Bookmarks From Images and Paths scans selected pages for embedded images and vector path elements in the PDF content stream, then creates a bookmark for each element that opens the element’s page (with the Fit Width, Fit Height or Custom Zoom view, at the element’s position on it). Bookmark titles are generated from customisable templates.

Video: Create Bookmarks From Images and Paths shown step by step, with narration.
The Create Bookmarks From Images and Paths dialog
The Create Bookmarks From Images and Paths dialog.

How to use

  1. Open the PDF you want to process.
  2. Go to Plug-Ins > Bookmarks > Create & Add > Create Bookmarks From Images and Paths.
  3. Select a page range option (the dialog opens on All pages).
  4. Check whether to include images, paths, or both.
  5. Customise the bookmark title templates and zoom setting.
  6. Configure margins and false-positive filters as needed.
  7. Click OK to create the bookmarks.

Page range

OptionDescription
All pages Processes every page in the document. This is the default; a saved configuration you load brings back the page range it was saved with.
Current page Processes only the currently active page.
From page Processes only the specified start page.
To page Processes a specific inclusive page range, from the start page through the page entered here.
To end of file Processes from the start page through the last page of the document.
Custom range Enter a comma-separated list of pages and ranges, e.g. 1-3,7,10-12.

Content options

OptionDescription
Create image bookmarks Include embedded images found on the selected pages.
Create path bookmarks Include vector path elements found on the selected pages.
Image template Title template for image bookmarks (default: Image {n}).
Path template Title template for path bookmarks (default: Path {n}).

Template placeholders

PlaceholderDescription
{n}Running count across the whole run, kept separately for images and for paths: the image template counts image bookmarks and the path template counts path bookmarks, each starting at 1.
{seq_on_page}Sequential counter for the current page only.
{page}One-based page number.
{page_index}Zero-based page index.
{page_label}PDF page label (falls back to page number if none defined).
{x}Left X coordinate of the element bounds (PDF points).
{y}Top Y coordinate of the element bounds (PDF points).
{w}Width of the element bounds (PDF points).
{h}Height of the element bounds (PDF points).
{area}Area of the element bounds (w × h, in PDF points).
{type}Element type label (“Image” or “Path”).

Use the variable dropdown and Insert button to add placeholders at the cursor position in the template field.

Zoom

OptionDescription
Fit BoundsFits all of the page’s content in the window (the PDF /FitB view). It does not zoom or scroll to the element; Fit Width, Fit Height and Custom Zoom open at the element’s position.
Fit PageFits the entire page in the viewer.
Fit WidthFits the page width.
Fit HeightFits the page height.
Custom ZoomUses the zoom percentage entered in the adjacent field.

Margins

Define left, right, top, and bottom margins to restrict the scan area. Elements whose bounds fall entirely within the margin zone are excluded. Choose inches, centimetres, points or millimetres for the margin input. A live margin preview shows the excluded zones overlaid on the selected preview page.

False-positive filters

FilterDescription
Exclude text areas from bounds Skips images or paths when text appears within their bounding box.
Exclude thin rules Skips line-like path elements thinner than the specified maximum thickness (in points).
Exclude enclosing boxes Skips large rectangular paths that cover at least the specified percentage of the page area.

Additional options

OptionDescription
Keep existing bookmarks When checked, the current bookmark tree is preserved. When unchecked, existing bookmarks are removed first.
Show preview Displays a page thumbnail with margin overlay. Change the preview page number to inspect different pages.

Tip

Use the Exclude thin rules filter to skip horizontal and vertical separator lines that are not meaningful images or graphics.

Warning

Clearing Keep existing bookmarks removes all current bookmarks before generating new ones. This cannot be undone.

See also