quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Icongenie ERROR: incorrect resolution! when using --padding

Open diadal opened this issue 6 years ago • 6 comments

icongenie verify failed when using padding option for example --padding 10,10

Xcode Building fail

 Mode SPA 

 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-128x128.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-96x96.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-32x32.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-16x16.png 
 SIZE OK - ico:          src/statics/icons/favicon.ico 

 Mode CAPACITOR 

 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-mdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-mdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-hdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-hdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xxxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xxxhdpi/splash.png 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png 

diadal avatar May 25 '20 10:05 diadal

Can you please check the size for src/statics/icons/favicon-128x128.png?

pdanpdan avatar May 25 '20 10:05 pdanpdan

the --padding value added to size if you --padding 10,10 size will be 138 by 138 if --padding 10,5 size will be be 138 by 133

Screenshot 2020-05-25 at 12 02 13 PM

diadal avatar May 25 '20 11:05 diadal

Having the same issue. I'm not able to add the padding. If I do, the app icon becomes much smaller (the build seems to resize it). To clarify, if icongene is run without padding the icon takes up the full space and is fine. If icon genie is run with padding the icon that is generated (icon.png in src-cordova/res/ios seems to have the correct padding but after the build command is run this png file is overwritten and the icon ends up much smaller (padding of 40,40 maybe).

anubhavkamath avatar May 26 '20 19:05 anubhavkamath

Thank you for reporting! Fix will be available in "@quasar/icongenie" v2.2.1.

rstoenescu avatar May 30 '20 01:05 rstoenescu

issue not yet resolved

Running @quasar/icongenie v2.2.0

Mode SPA

 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-128x128.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-96x96.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-32x32.png 
 ERROR: incorrect resolution! - png:          src/statics/icons/favicon-16x16.png 
 SIZE OK - ico:          src/statics/icons/favicon.ico 

 Mode CAPACITOR 

 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png 
 ERROR: incorrect resolution! - png:          src-capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-mdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-mdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-hdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-hdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-land-xxxhdpi/splash.png 
 SIZE OK - splashscreen: src-capacitor/android/app/src/main/res/drawable-port-xxxhdpi/splash.png 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 ERROR: incorrect resolution! - png:          src-capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected] 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png 
 SIZE OK - splashscreen: src-capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png 

diadal avatar May 31 '20 15:05 diadal

Haven’t I mentioned that it’s fixed in icongenie 2.2.1? @diadal

rstoenescu avatar May 31 '20 16:05 rstoenescu