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

Intelligently detect the minimum input size needed #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdolman
Copy link
Collaborator

@bdolman bdolman commented Sep 17, 2021

Previously there was a hard-coded check to ensure the input image
was at least 1024x1024. But there are often cases where that size
of image is not needed (e.g. when adding an alternate iOS app icon
which doesn't need a corresponding marketing version)

Now the check is done based on the output sizes actually requested.

In addition, there is now an "allow_upsampling" flag so that this
check can be bypassed entirely.

Previously there was a hard-coded check to ensure the input image
was at least 1024x1024. But there are often cases where that size
of image is not needed (e.g. when adding an alternate iOS app icon
which doesn't need a corresponding marketing version)

Now the check is done based on the output sizes actually requested.

In addition, there is now an "allow_upsampling" flag so that this
check can be bypassed entirely.
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.

1 participant