ComfyUI Node
Pre-Crop to Qwen (Drift-Free)
Center-crops the source to a size that is a fixed point of Qwen-Image-Edit's internal resize, so Qwen introduces zero scale/shift drift. Pair with UpscaleToOriginal to restore the output to the original resolution.
Pre-Crop to Qwen (Drift-Free)
- image
- cropped
◄crop_anchorcenter►
◄force_minimumtrue►
Categoryimage/transform
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| crop_anchor | COMBO | center | Where to anchor the crop when the source is larger than the target. |
| force_minimum | BOOLEAN | true | If the source is smaller than the computed drift-free size, upscale it to reach the target (otherwise allow a smaller target). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| cropped | IMAGE | Drift-free crop ready to feed into Qwen. |