leonardoquevedox/capacitor-resources

Bad image format when processing icon image

carlosen14 opened this issue ยท 1 comments

I ran:
npx capacitor-resources -I -p android

I got:

๐Ÿ“ฆ  Capacitor Resources v2.0.5
-----------------------------

Checking files and directories...
 โœ“  Processing files for: android
 ร—  Bad icon file (5008x5008)
Bad image format

File does exist on resources/icon.png.
First I thought it was because the image size, but the splash image was processed correctly even it was bigger size.

solved, it was the image size, i manually scalled down to 1024px and it works now ๐Ÿ˜„