lllyasviel / lllyasviel/stable-diffusion-webui-forge
Allow Multiplication and Division in Width and Height
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
If I'm in Gimp in the menu for height or width I can type 768*2 and press enter to get 1536. If I have 768*2 in the field and the field loses focus it also gets converted to 1536. It would be great if Forge would allow the same thing. It makes it easier to scale images if you don't have to do the calculations in your head.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests. Start by locating the width and height input handling in the web UI and trace how values are processed on Enter or blur. Done means expressions such as 768*2 and division expressions are evaluated in both cases and produce the expected dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100