Easily scale dimensions while retaining the same aspect ratio.
 
 
 
Go to file
544146 4cc60d7e13 Run pre-commit on entire project 2023-03-20 03:50:20 +00:00
docs Update README.md 2023-03-20 03:45:02 +00:00
scripts Run pre-commit on entire project 2023-03-20 03:50:20 +00:00
.gitignore Run pre-commit on entire project 2023-03-20 03:50:20 +00:00
.pre-commit-config.yaml Run pre-commit on entire project 2023-03-20 03:50:20 +00:00
README.md Update README.md 2023-03-20 03:45:02 +00:00

README.md

Aspect Ratio Helper

Simple extension to easily maintain aspect ratio while changing dimensions.

Install via the extensions tab on the AUTOMATIC1111 webui.

Main features:

  • Scale to maximum width or dimension
    • Upon clicking, the dimensions will scale the highest value to the maximum configured value
    • Aspect ratio will be maintained, the smaller or equivalent value will be scaled to match
  • Scale by percentage
    • Upon clicking, the current dimensions will be multiplied by the given percentage, with aspect ratio maintained
    • i.e 150% of 512x512 = 768x768 75% of 512x256 = 384x192 etc.

Screenshot:

user-interface.png

Settings:

  • Expand by default
    • Determines whether the 'Aspect Ratio Helper' accordion expands by default
  • Show maximum width of height button
    • Self-explanatory
  • Maximum width or height default
    • Self-explanatory
  • Show percentage buttons
    • Self-explanatory
  • Percentage buttons
    • Comma separated list of percentages
    • i.e 25, 50, 75, 125, 150, 175, 200 50, 125, 300 etc.

Screenshot:

settings.png