ARNdroid / EasyTargetDiet

Android Easy Target Diet project.
4 stars 1 forks source link

libpng warning: "iCCP: Not recognizing known sRGB profile that has been edited" #136

Closed ARNdroid closed 9 years ago

ARNdroid commented 10 years ago

As we updated project to API 21 (Android 5.0) by #84, we have received warnings at gradle (clean) compile/build time like:

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\src\debug\res\drawable-mdpi\ic_launcher.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

C:\dev\android\as-workspace\EasyTargetDietProject\EasyTargetDiet\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

We starred an open issue about it in AOP.

Some research here:

We need to think about getting rid of these warnings.

ARNdroid commented 9 years ago

After migration to AS 1.2.0 (#205) the warnings concern only project files (no more warnings for Android Support Library are shown):

AAPT err(1435175536): C:\dev\android\as-workspace\EasyTargetDiet\etd-app\src\main\res\drawable-mdpi\ic_menu_edit.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited AAPT err(200792891): C:\dev\android\as-workspace\EasyTargetDiet\etd-app\src\main\res\drawable-mdpi\ic_calendar.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited AAPT err(1435175536): C:\dev\android\as-workspace\EasyTargetDiet\etd-app\src\debug\res\drawable-mdpi\ic_launcher.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

It's time solve it!