ComfyUI > Nodes > Olm DragCrop for ComfyUI

ComfyUI Extension: Olm DragCrop for ComfyUI

Repo Name

ComfyUI-Olm-DragCrop

Author
o-l-l-i (Account age: 3012 days)
Nodes
View all nodes(2)
Latest Updated
2025-09-02
Github Stars
0.07K

How to Install Olm DragCrop for ComfyUI

Install this extension via the ComfyUI Manager by searching for Olm DragCrop for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Olm DragCrop for ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Olm DragCrop for ComfyUI Description

Olm DragCrop for ComfyUI is an interactive image cropping node that enhances workflows by enabling precise visual selection of crop areas. It streamlines image preparation with immediate feedback and control over dimensions.

ComfyUI-Olm-DragCrop Introduction

ComfyUI-Olm-DragCrop is an innovative extension designed to enhance your image editing workflow within ComfyUI. This extension provides an interactive image cropping node that allows you to visually select and adjust crop areas directly within your workflow. It is particularly useful for AI artists who need precise control over image dimensions without the hassle of using external image editors. With ComfyUI-Olm-DragCrop, you can streamline the process of preparing images for various tasks, such as inpainting or outpainting, by offering immediate visual feedback and control over your image dimensions.

How ComfyUI-Olm-DragCrop Works

At its core, ComfyUI-Olm-DragCrop operates by allowing you to define a crop area through a simple drag-and-drop interface. Imagine having a transparent overlay on your image where you can draw a rectangle to specify the area you want to keep. This rectangle can be moved and resized with ease, providing a real-time preview of the cropped area. The extension eliminates the need for manual calculations of pixel offsets, making it accessible even to those who are not technically inclined. By integrating directly into ComfyUI, it ensures that you can make adjustments without leaving your current workflow, thus saving time and effort.

ComfyUI-Olm-DragCrop Features

ComfyUI-Olm-DragCrop is packed with features that make it a versatile tool for AI artists:

  • Real-time Interaction: The crop box can be moved and resized fluidly, allowing you to experiment with different compositions effortlessly.
  • Instant Feedback: As you adjust the crop box, the extension provides immediate updates on pixel dimensions and percentages, helping you make informed decisions.
  • Interactive Crop Box: You can drag, move, and resize the crop box directly on the image preview, making the process intuitive and straightforward.
  • Visual Handles: The crop box features clearly visible handles on its corners and edges, making resizing a breeze.
  • Color Presets: Choose from multiple preset colors for the crop box to match your content and personal preference.
  • Numeric Input Synchronization: Fine-tune your crop values using synchronized numeric input widgets for precise control over the crop area.
  • Flexible Cropping: Easily define new crop regions or adjust existing ones by drawing or resizing the crop box.
  • Mask Support: Basic mask data can be passed through, allowing for more complex image manipulations.
  • Aspect Ratio Locking: Maintain specific aspect ratios by setting numerical values or choosing from common ratios like 4:3 or 16:9.
  • Pixel Snap: Align crop edges to a grid by selecting a snap value, ensuring precision in your cropping.
  • Image Handling: Automatically adjusts to match the loaded image dimensions and resets the crop to full image size when necessary.
  • Customization: Change the crop box color from a set of predefined options to suit your workflow.
  • Informative Display: Toggle the display of percentage and pixel dimensions directly on the crop box for better visualization.
  • Smart UX: The node auto-resizes to fit the image preview, and handles scale with zoom for consistent interaction.
  • Persistence: Crop settings persist across UI and backend restarts, maintaining your last used configuration.
  • Reset Functionality: Quickly reset the crop box to the full image dimensions with a dedicated button.

ComfyUI-Olm-DragCrop Models

Currently, ComfyUI-Olm-DragCrop does not include different models. It focuses on providing a robust and flexible cropping tool that integrates seamlessly into your existing ComfyUI workflow.

What's New with ComfyUI-Olm-DragCrop

The extension is actively developed, with regular updates to enhance functionality and user experience. Here are some of the recent updates:

  • Version 1.1.1: Introduced crop data output and a helper node to extract integer values from JSON data, improving data handling capabilities.
  • Version 1.1: Refactored the code for better maintainability and modularity, along with various small improvements.
  • Version 1.0.1.1: Enhanced compatibility with ComfyUI frontend 1.24.4 and later, and fixed a mask pass-through issue.
  • Version 1.0.1: Added a snap feature to align crop edges more precisely.
  • Version 1.0.0: Initial release, providing a solid foundation for interactive image cropping.

Troubleshooting ComfyUI-Olm-DragCrop

While using ComfyUI-Olm-DragCrop, you might encounter some common issues. Here are solutions to help you resolve them:

  • Image Preview Not Loading: Ensure that you have run the graph once to get an image preview from upstream nodes. This is a necessary step due to technical limitations.
  • Single Crop Region Limitation: Currently, the extension supports only one crop region per node. If you need multiple crop regions, consider using additional nodes.
  • Unexpected Behavior: If the extension behaves unexpectedly, try restarting ComfyUI to reset the node settings.

Learn More about ComfyUI-Olm-DragCrop

To further enhance your experience with ComfyUI-Olm-DragCrop, consider exploring additional resources:

  • GitHub Repository: Visit the official GitHub repository for the latest updates and source code.
  • Community Forums: Engage with other AI artists and developers in community forums to share tips, ask questions, and get support.
  • Tutorials and Documentation: Look for tutorials and documentation that provide step-by-step guides on using ComfyUI-Olm-DragCrop effectively in your projects. By leveraging these resources, you can maximize the potential of ComfyUI-Olm-DragCrop and create stunning AI-generated art with ease.

Olm DragCrop for ComfyUI Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.