leonardoquevedox / capacitor-resources

Generates icon & splash screen for Capacitor projects using javascript only.
MIT License
136 stars 16 forks source link

Bad image format when processing icon image #8

Closed carlosen14 closed 3 years ago

carlosen14 commented 3 years ago

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.

carlosen14 commented 3 years ago

solved, it was the image size, i manually scalled down to 1024px and it works now :smile: