Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix send image and dimensions to not be a footgun #812

Conversation

realwumbl3
Copy link

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:

@lllyasviel
Copy link
Owner

hi we are going to close PRs before forge's recent major revision
if we missed some important PRs, please consider reopen (if that is not already on our todo list

@lllyasviel lllyasviel closed this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants