Nodes/ComfyUI-API-DockerCPU/Load Image with Metadata Crop
ComfyUI Node

Load Image with Metadata Crop

Loads an image with metadata and optionally crops a region, returning both the cropped and original images plus a zoom factor.

By trustypangolin·Created 4 months ago·Updated 17 days ago· 0
Load Image with Metadata Crop
    • cropped_image
    • mask
    • original_image
    • prompt
    • Metadata RAW
    • BASE_FILENAME
    • BASE_DIR
    • crop_x
    • crop_y
    • crop_width
    • crop_height
    • height
    • width
    • original_height
    • original_width
    • zoom_factor
    • megapixels
    folder_typeinput
    image
    crop_x-1
    crop_y-1
    crop_width-1
    crop_height-1
    Category🎨 DockerCPU API/Utilities

    Inputs (6)

    NameTypeDefaultDescription
    folder_typeCOMBOinputWhich ComfyUI folder to load from. The image dropdown is refreshed automatically.
    imageCOMBO1 options: example.png
    crop_xoptINT-1-1–999999Left edge of crop. -1 disables cropping.
    crop_yoptINT-1-1–999999Top edge of crop. -1 disables cropping.
    crop_widthoptINT-1-1–999999Crop width. -1 disables cropping.
    crop_heightoptINT-1-1–999999Crop height. -1 disables cropping.

    Outputs (17)

    NameTypeDescription
    cropped_imageIMAGE
    maskMASK
    original_imageIMAGE
    promptJSON
    Metadata RAWMETADATA_RAW
    BASE_FILENAMESTRING
    BASE_DIRSTRING
    crop_xINT
    crop_yINT
    crop_widthINT
    crop_heightINT
    heightINT
    widthINT
    original_heightINT
    original_widthINT
    zoom_factorFLOAT
    megapixelsFLOAT