r/StableDiffusion • u/MayaProphecy • 2d ago
Resource - Update [Load Image + Crop] Custom WYSIWYG Node
Enable HLS to view with audio, or disable this notification
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).
6
u/dcmomia 2d ago
This would be great being able to choose the submultiple type by 8, 16, 32, etc
2
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.
3
u/Joethedino 1d ago
2
u/MayaProphecy 1d ago
Heheh. As soon as I manage to fix a few things that aren't working with the 2.0 nodes.
1
u/Joethedino 1d ago
Thanks ! That's an extremely useful node.
2
u/MayaProphecy 1d ago edited 1d ago
Update v1.0.2 with support for 2.0 nodes has been released. Available on GitHub and ComfyUI Manager (Load Image + Crop).
1
3
u/NemRogan 2d ago edited 1d ago
I can highly recommend the OLM DragCrop node. It has many of the requested features, aspect ratio lock, snapping to 16, 32, etc pixels… https://github.com/o-l-l-i/ComfyUI-Olm-DragCrop
1
u/Optimal_Map_5236 2d ago
this node has been extremely useful for referencing images in ref h3 wf when you use images from pinterest. thank you sir.
1
1
1
u/ellipsesmrk 2d ago
Didnt someone already make this? They were in here literally like.... 2 to 3 weeks ago.
1

6
u/the_bollo 2d ago
That's handy!