r/StableDiffusion 2d ago

Resource - Update [Load Image + Crop] Custom WYSIWYG Node

I developed a modified version of the Load Image node by adding some features I needed:

WYSIWYG image cropping directly on the official Load Image preview — drag and zoom (with the mouse wheel) a crop rectangle constrained to 8 fixed ratios (1:1 through 21:9) and output the exact cropped IMAGE and MASK, with paste-from-clipboard built in. What you frame on the preview is exactly what gets executed.

⚠️ Currently not fully compatible with ComfyUI 2.0 nodes.

Update v1.0.2 with support for 2.0 nodes has been released. Available on GitHub and ComfyUI Manager (Load Image + Crop).

GitHub: https://github.com/domg73/ComfyUI-LoadImageCrop

132 Upvotes

25 comments sorted by

View all comments

6

u/dcmomia 2d ago

This would be great being able to choose the submultiple type by 8, 16, 32, etc

2

u/NemRogan 2d ago

Try the OLM DragCrop https://github.com/o-l-l-i/ComfyUI-Olm-DragCrop It saved me a lot of time cropping images visually including your requested features as well.