ComfyUI Node
π FRED Auto Crop Image Native Ratio
A ComfyUI node in πFRED/image/postprocessing with 18 inputs and 10 outputs.
π FRED Auto Crop Image Native Ratio
- image
- preview_mask_color
- mask_optional
- modified_image
- preview
- modified_mask
- scale_factor
- output_width
- output_height
- native_width
- native_height
- sd_aspect_ratios
- help
βPrecrop_from_input_maskfalseβΊ
βaspect_ratioAuto_find_resolutionβΊ
βmask_preservefalseβΊ
βcustom_width1024βΊ
βcustom_height1024βΊ
βcrop_from_centertrueβΊ
βcrop_x_in_Percent0βΊ
βcrop_y_in_Percent0βΊ
βresize_imagefalseβΊ
βresize_mode_if_upscalebilinearβΊ
βresize_mode_if_downscaleareaβΊ
βprescale_factor1.5βΊ
βinclude_prescale_if_resizefalseβΊ
βmultiple_of1βΊ
βpreview_mask_color_intensity0.4βΊ
CategoryπFRED/image/postprocessing
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| Precrop_from_input_mask | BOOLEAN | false | β |
| aspect_ratio | COMBO | Auto_find_resolution | 28 options: custom, Auto_find_resolution, 5:12 portrait 640x1536, 9:21 portrait 576x1344, 1:2 portrait 768x1536, 9:16 portrait 768x1344, +22 |
| mask_preserve | BOOLEAN | false | β |
| custom_width | INT | 102464β8192 | β |
| custom_height | INT | 102464β8192 | β |
| crop_from_center | BOOLEAN | true | β |
| crop_x_in_Percent | INT | 00β100 | β |
| crop_y_in_Percent | INT | 00β100 | β |
| resize_image | BOOLEAN | false | β |
| resize_mode_if_upscale | COMBO | bilinear | 5 options: bicubic, bilinear, nearest, nearest-exact, area |
| resize_mode_if_downscale | COMBO | area | 5 options: bicubic, bilinear, nearest, nearest-exact, area |
| prescale_factor | FLOAT | 1.50.1β8 | β |
| include_prescale_if_resize | BOOLEAN | false | β |
| multiple_of | COMBO | 1 | 7 options: 1, 2, 4, 8, 16, 32, +1 |
| preview_mask_color_intensity | FLOAT | 0.40.1β1 | β |
| preview_mask_color | COLOR | #503555 | β |
| mask_optionalopt | MASK | β |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| modified_image | IMAGE | β |
| preview | IMAGE | β |
| modified_mask | MASK | β |
| scale_factor | FLOAT | β |
| output_width | INT | β |
| output_height | INT | β |
| native_width | INT | β |
| native_height | INT | β |
| sd_aspect_ratios | STRING | β |
| help | STRING | β |