iccp:Not recognizing known sRGB profile that has been edited

风流意气都作罢 提交于 2019-12-03 09:33:52

If you have image magick installed http://www.imagemagick.org/script/command-line-processing.php

find . -name "*.png" -print -exec convert "{}" "{}" ";"

cleaned up the files, and made them smaller in the process.

I had the same problem with Android studio. Just clean the project and it should work.

I found a workaround that may help.

I downloaded the ImageOptim software: https://imageoptim.com/ (Free)

and went to the folder Xamarin/Android.Support.v7.AppCompat/21.0.3/embedded and drag the images into the imageoptim and it deleted the metada.

And that fixed.

This warning is due to the unwanted bytes or metadata in the image file. It is mostly arises due to the update of libpng inside of the Android SDK.

Try these tools to delete metadata from corresponding images :

ImageOptim

ImageMagick

Trimage

had the same problem. trying to remove and re-add the same images showed in the console that another file had an invalid name (with "-" in the name). Fixing the other file's name, solved my issue.

Since most answers are for Linux here is a windows solution:

Download ImageMagick and run the folloing command in cmd:

magick mogrify -format png *.png

and it will convert all png in the folder you are in into png without the problems.

Sagar Shah

What solved my problem is to remove the doubted one image(Which is large in size & it's been store in all Drawable folders of my app module.)

I have tried by Changing build tools , removing AppCompat lib.

Also Check that whether any of your image is not opening in Android Editor by double clicking on the Image from drawable folder.

If this load problem occurs, It means you have to remove this image from all folders and try by ReAdding it after Renaming the same image.

Or there's is an accepted answers available if it can help you.

https://stackoverflow.com/a/31497159

Which will help you Optimize your image in all neccessary manner.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!