junkoro / make-9patched-splash-ionic

In ionic project, automatically resize & 9-patch splash.png.
18 stars 1 forks source link

Creating 9patch file shows stretched pixels #2

Open markskowron opened 8 years ago

markskowron commented 8 years ago

After installing the latest version and running make-9patched-splash-ionic.js I get a stretched image on the Android phone.

Android 5.1 on Moto E 2nd Gen.

screenshot_2016-04-11-09-39-27

krthkbharadwaj commented 7 years ago

There are few issues on Moto devices when we generate splash screen, I used "preference name="SplashMaintainAspectRatio" value="true" " tag in config.xml of Ionic and solved the issue. Now it generates proper images. One more important thing is to make sure the splash.png is made as per the standards. 2208x2208px, the image should fit inside that canvas with an ratio of 1200x1200px