• shawnington's avatar
    Fix to LoadImage Node for #3416 HDR images loading additional smaller… (#3454) · 22edd3ad
    shawnington authored
    * Fix to LoadImage Node for #3416 HDR images loading additional smaller images. 
    
    Added a blocking if statement  in the ImageSequence.Iterator that checks if subsequent images after the first match dimensionally, and prevent them from being appended to output_images if they do not match. 
    
    This does not fix or change current behavior for PIL 10.2.0 where the images are loaded at the same size, but it does for 10.3.0 where they are loaded at their correct smaller sizes.
    
    * added list of excluded formats that should return 1 image
    
    added an explicit check for the image format so that additional formats can be added to the list that have problematic behavior.
    22edd3ad
nodes.py 73.9 KB