Skip to content

fix: generated App Store icon has alpha channel #4632

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

Merged
merged 1 commit into from
May 22, 2019

Conversation

KristianDD
Copy link
Contributor

PR Checklist

What is the current behavior?

Currently the App Store icon is generated with transparency alpha channel which is not permitted by Apple: for reference Stack Overflow thread.

What is the new behavior?

For this particular image the alpha channel is disabled.

Fixes/Implements/Closes #4584

@cla-bot cla-bot bot added the cla: yes label May 20, 2019
@KristianDD KristianDD changed the base branch from master to release May 20, 2019 17:31
@KristianDD
Copy link
Contributor Author

test cli-resources

break;
default:
throw new Error(`Invalid image generation operation: ${operation}`);
}

if (assetItem.rgba === false) {
image = image.rgba(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this whole if looks strange, can you please add a comment what's the idea of it

@KristianDD KristianDD force-pushed the kddimitrov/fix-app-store-icon-rgba branch from 2b2f64c to 81ca059 Compare May 22, 2019 10:20
@KristianDD KristianDD merged commit e173c2d into release May 22, 2019
@KristianDD KristianDD deleted the kddimitrov/fix-app-store-icon-rgba branch May 22, 2019 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants