Skip to content

Node/358 pdf to image node#361

Merged
felix-schultz merged 3 commits intodevfrom
node/358-pdf-to-image-node
Oct 29, 2025
Merged

Node/358 pdf to image node#361
felix-schultz merged 3 commits intodevfrom
node/358-pdf-to-image-node

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces a new PDF processing module to the image catalog, enabling PDF page counting and page/image rendering nodes, and also refines the UI for boolean and date array/set variable components. The most significant changes are the addition of PDF utilities and nodes in the backend, and improved usability and styling for array/set variable inputs in the UI.

PDF Processing and Node Additions:

  • Added a new pdf module under image with utilities for loading PDFs, rendering pages to images, and validating input parameters. This includes helper functions and three new node implementations: PdfPageCountNode, PdfPageToImageNode, and PdfToImagesNode, which allow counting pages and rendering single or all pages as images. [1] [2] [3] [4] [5]
  • Registered the new PDF node functions in the image node registry to make them available in workflows.
  • Added the hayro PDF rendering library as a dependency in the catalog package.

UI Improvements for Variable Components:

  • Refactored the BoolArrayVariable and BoolSetVariable components to use clearer labels ("True"/"False" instead of "New Value"/"Index"), improved styling for array/set entries, replaced the trash icon with a more intuitive "X" icon, and enhanced accessibility and usability. [1] [2] [3] [4] [5] [6]
  • Updated the DateArrayVariable component for better layout, clearer date/time selection, and replaced the trash icon with "X" for removing entries. [1] [2] [3]

Documentation:

  • Updated workflow node creation instructions to clarify which types to use for images (NodeImage) and files (FlowPath).

…prove UI layout

- Updated date-array-variable.tsx and date-set-variable.tsx to use XIcon for delete actions.
- Enhanced layout and styling for date selection and existing date display.
- Refactored float-array-variable.tsx and float-set-variable.tsx to replace Trash2Icon with XIcon and improved item display.
- Modified integer-array-variable.tsx and integer-set-variable.tsx to use XIcon for item removal and adjusted layout.
- Changed pathbuf-array-variable.tsx and pathbuf-set-variable.tsx to utilize XIcon for delete actions and improved item presentation.
- Updated string-array-variable.tsx and string-set-variable.tsx to replace Trash2Icon with XIcon and refined the input and item display.
@felix-schultz felix-schultz linked an issue Oct 29, 2025 that may be closed by this pull request
@felix-schultz felix-schultz merged commit 77c7f1b into dev Oct 29, 2025
3 of 10 checks passed
@felix-schultz felix-schultz deleted the node/358-pdf-to-image-node branch October 29, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PDF to Image Node

1 participant