floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

ComfyUI_extract_imag

0

Last updated
2025-06-11

This ComfyUI custom node is designed to extract images from a variety of document types and save them directly to disk, while also providing a preview of the first extracted image. It supports multiple formats, making it a versatile tool for users looking to handle images embedded in documents efficiently.

  • Supports image extraction from PDF, Word, HTML, and Markdown files.
  • Automatically filters images based on specified minimum dimensions and saves them in a structured output folder.
  • Provides a preview of the first extracted image and returns the path to the output folder for easy access.

Context

This tool serves as a custom node within ComfyUI, enabling users to efficiently extract and save images found in different document formats. Its primary purpose is to streamline the process of image retrieval, allowing for quick access and organization of images without manual intervention.

Key Features & Benefits

The node allows for image extraction from multiple document formats, including PDF, DOCX, HTML, and Markdown. By filtering images based on minimum width and height, users can ensure that only relevant images are saved, which helps maintain organization and efficiency in their workflows. The automatic naming convention for output folders and images reduces the risk of file conflicts, simplifying file management.

Advanced Functionalities

This node includes advanced capabilities such as the ability to handle images encoded in base64 within HTML and Markdown files, as well as local images. The option to set minimum dimensions for extracted images provides users with greater control over the quality and relevance of the images they save.

Practical Benefits

By integrating this node into their workflows, users can significantly enhance their efficiency when working with documents that contain images. The ability to automatically extract and save images, along with the structured output organization, saves time and minimizes manual effort, allowing for a smoother user experience in ComfyUI.

Credits/Acknowledgments

This project was developed by Orion4D and is available under an open-source license on GitHub. The contributions of the community are acknowledged, and users are encouraged to support the project by giving it a star on GitHub.