Skip to content

fix: icon generator color type error #5838

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 2 commits into from
Mar 24, 2025

Conversation

CatchABus
Copy link
Contributor

PR Checklist

What is the current behavior?

Right now, cli cannot generate assets the alpha of which is disabled.
Output:

ns resources generate icons ./icon.png

Generating icons ...
image.colorType is not a function

This behaviour broke during 8.9 update and update of Jimp dependency.

What is the new behavior?

Cli will be able to generate assets the alpha of which is disabled (rgba: true).

@NathanWalker NathanWalker merged commit af81491 into NativeScript:main Mar 24, 2025
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.

2 participants