WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

2024.2

Latest

Choose a tag to compare

@FredHappyface FredHappyface released this 15 Sep 13:34
· 5 commits to main since this release

2024.2 - 2024/09/15

  • support means of image preprocessing through a resize_method option. It can take one of the following values:
    • "outerCrop": Resizes the image to fit within the target dimensions while preserving its original aspect ratio. Any space left over is filled with black bars (letterboxing), if applicable.
    • "innerCrop": Resizes the image by cropping parts of it to fit the target dimensions
    • "stretch": Stretches the image to fit the target dimensions exactly, ignoring the original aspect ratio, which can lead to distortion.
    • null: No resizing method is applied.