Skip to content

Intelligently detect the minimum input size needed#72

Open
bdolman wants to merge 1 commit intofastlane-community:masterfrom
Hitlabs:intelligent-size-check
Open

Intelligently detect the minimum input size needed#72
bdolman wants to merge 1 commit intofastlane-community:masterfrom
Hitlabs:intelligent-size-check

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