EvanBacon / icon-builder

website that helps build simple icons for React Native apps
https://buildicon.netlify.app
95 stars 11 forks source link

Add support for Adaptive Icons #14

Open jonnyreeves opened 2 years ago

jonnyreeves commented 2 years ago

This project is incredibly helpful; would it be possible to add support for Android Adaptive Icons? I'm having a lot trouble getting the proportions right for them :(

EvanBacon commented 2 years ago

PRs welcome

jonnyreeves commented 2 years ago

I can see the location in the code that I need to modify but an unsure where to get the correct scale modifier, are you able to point me in the right direction, please?

On Wed, 8 Dec 2021, 19:51 Evan Bacon, @.***> wrote:

PRs welcome

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EvanBacon/icon-builder/issues/14#issuecomment-989144693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ36L3IKPBEVDW55GBVWTUP6ZKNANCNFSM5JSIZYTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EvanBacon commented 2 years ago

All image stuff takes place in https://github.com/EvanBacon/icon-builder/blob/master/src/utils/ImageOps.ts here is how we gen adaptive icons in expo-cli for prebuild.