Nodes/CRT-Nodes/Image Loader Crawl Batch (CRT)
ComfyUI Node

Image Loader Crawl Batch (CRT)

A ComfyUI node in CRT/Load with 7 inputs and 5 outputs.

By PGCRT·Created 2 years ago·Updated 7 days ago· 129
Image Loader Crawl Batch (CRT)
    • images
    • file_names
    • file_paths
    • batch_count
    • total_images
    folder_path
    batch_count1
    seed0
    megapixels1.00
    crawl_subfoldersfalse
    remove_extensionfalse
    print_indextrue
    CategoryCRT/Load

    Inputs (7)

    NameTypeDefaultDescription
    folder_pathSTRING
    batch_countINT11–128Number of images to load. Window starts at seed × batch_count and wraps around the folder.
    seedINT00–18446744073709550000Selects the starting image: index = (seed × batch_count) % total_images.
    megapixelsFLOAT1.000.1–16Target resolution in megapixels. Each image is resized (lanczos) preserving its aspect ratio. If the batch contains mixed aspect ratios, images are center-cropped to the average AR before batching.
    crawl_subfoldersBOOLEANfalse
    remove_extensionBOOLEANfalse
    print_indexBOOLEANtruePrint each selected file index and name to the console.

    Outputs (5)

    NameTypeDescription
    imagesIMAGE
    file_namesSTRING
    file_pathsSTRING
    batch_countINT
    total_imagesINT