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

Request: Support webp icons on Android #121

Open
raldred opened this issue Apr 10, 2024 · 0 comments
Open

Request: Support webp icons on Android #121

raldred opened this issue Apr 10, 2024 · 0 comments

Comments

@raldred
Copy link

raldred commented Apr 10, 2024

Android studio's Image Asset Studio defaults to generating webp icons.

I am able to pass the glob of the source files to add_badge

add_badge(
      shield: "staging-#{version}-orange",
      alpha_channel: true,
      custom: '../staging-badge.png',
      glob: "./android/app/src/main/res/mipmap-*/ic_launcher.webp",
 )

However the generation is hardcoded to output "png"

Could we get an option to specify the output format to webp?
I believe imagemagic can output a composite image made up of different source formats?

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

No branches or pull requests

1 participant