1. 12 May, 2024 1 commit
    • 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
  2. 09 May, 2024 1 commit
    • shawnington's avatar
      Added generic wrapper function node_helpers.pillow to fix PIL issues #4472 and #2445 (#3422) · 0fecfd2b
      shawnington authored
      * Update node_helpers.py to use generic pillow wrapper to resolve multiple meta-data related issues.
      
      replaced open_image function with a generic pillow function that takes Pil functions as a dependency injection and applies the ImageFile.LOAD_TRUNCATED_IMAGES try except fix to them. 
      
      This provides an extensible function to handle related errors that can wrap offending functions when discovered without the need to repeat code.
      
      * Update a few Pil functions to use node_helpers.pillow wrapper
      
      Update a Pil function calls in a few locations to use the generic node_helpers.pillow wrapper that takes the function as a dependency injection and uses the try except method with ImageFIle.LOAD_TRUNCATED_IMAGES solution
      
      * Corrected comment in issue #s fixed.
      
      * Update node_helpers.py to remove import of Image from PIL
      
      import of Image is no longer required as functions are Injected
      0fecfd2b
  3. 07 May, 2024 1 commit
  4. 04 May, 2024 1 commit
    • shawnington's avatar
      Fixed Issue with LoadImage node when loading PNG files with embedded ICC profiles. (#3316) · 0d45efb7
      shawnington authored
      * Fix issue with how PIL loads small PNG files nodes.py
      
      Added flag to prevent ValueError: Decompressed Data Too Large
      when loading PNG images with large meta data such as large embedded color profiles
      
      * Update LoadImage node to fix error when loading PNG's in nodes.py
      
      Fixed Value Error: Decompressed Data Too Large thrown by PIL when attempting to opening PNG files with large embedded ICC colorspaces by setting the follow flag to true when loading png images:  ImageFile.LOAD_TRUNCATED_IMAGES = True
      
      * Update node_helpers.py to include open_image helper function
      
      open_image includes try except to catch Pillow Value Errors that occur when large ICC profiles are embedded in images.
      
      * Update LoadImage node to use open_image helper function inplace of Image.open
      
      open_image helper function in node_helpers.py  fixes a Pillow error when attempting to open images with large embedded ICC profiles by adding an exception handler to load the image with truncated meta data if regular loading is not possible.
      0d45efb7
  5. 30 Apr, 2024 1 commit
    • comfyanonymous's avatar
      Add a SamplerLCMUpscale node. · eecd69b5
      comfyanonymous authored
      This sampler is an LCM sampler that upscales the latent during sampling.
      
      It can be used to generate at a higher resolution with an LCM model very
      quickly.
      
      To try it use it with a basic 5 step LCM workflow with scale_ratio 1.5 or
      2.0
      eecd69b5
  6. 28 Apr, 2024 1 commit
  7. 23 Apr, 2024 1 commit
  8. 20 Apr, 2024 1 commit
  9. 15 Apr, 2024 1 commit
  10. 13 Apr, 2024 1 commit
  11. 09 Apr, 2024 1 commit
  12. 07 Apr, 2024 2 commits
  13. 04 Apr, 2024 1 commit
  14. 30 Mar, 2024 1 commit
  15. 26 Mar, 2024 1 commit
  16. 19 Mar, 2024 2 commits
  17. 11 Mar, 2024 3 commits
  18. 08 Mar, 2024 1 commit
  19. 04 Mar, 2024 2 commits
  20. 03 Mar, 2024 1 commit
    • Shiimizu's avatar
      Implement Differential Diffusion (#2876) · 727021bd
      Shiimizu authored
      * Implement Differential Diffusion
      
      * Cleanup.
      
      * Fix.
      
      * Masks should be applied at full strength.
      
      * Fix colors.
      
      * Register the node.
      
      * Cleaner code.
      
      * Fix issue with getting unipc sampler.
      
      * Adjust thresholds.
      
      * Switch to linear thresholds.
      
      * Only calculate nearest_idx on valid thresholds.
      727021bd
  21. 25 Feb, 2024 1 commit
  22. 19 Feb, 2024 1 commit
  23. 16 Feb, 2024 2 commits
  24. 10 Feb, 2024 1 commit
  25. 08 Feb, 2024 1 commit
  26. 29 Jan, 2024 1 commit
  27. 24 Jan, 2024 1 commit
  28. 11 Jan, 2024 1 commit
  29. 08 Jan, 2024 2 commits
  30. 03 Jan, 2024 1 commit
  31. 29 Dec, 2023 1 commit
  32. 20 Dec, 2023 1 commit
  33. 18 Dec, 2023 1 commit