stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

Fix send image and dimensions to not be a footgun

Open realwumbl3 opened this issue 8 months ago • 0 comments

Description

  • Prevent copying image size over that are over the limit of 2048 when using "send image and generation parameters" buttons
  • simply added min(img.size, 2048)
  • it would set the image size to way beyond 2048 and cause a crash when generating :)

Screenshots/videos:

Checklist:

realwumbl3 avatar Jun 12 '24 19:06 realwumbl3