> ## Content Index
> Fetch the complete content index at: https://blog.jsinh.in/llms.txt
> Use this file to discover other available public pages before exploring further.

# libpng warning : iCCP: Not recognizing known sRGB profile that has been edited
- URL: https://blog.jsinh.in/libpng-warning-iccp-not-recognizing-known-srgb-profile-that-has-been-edited/
- Published: 2015-09-23T08:04:28.000Z
- Updated: 2026-07-07T15:06:27.000Z
- Author: Jsinh
- Tags: #Import 2026-10-04 19:16

Recently started playing with XAMARIN and working on related stuffs. I created a `Xamarin.Forms Shared` application, which creates an `[ApplicationName].Droid` and `[ApplicationName].iOS` project along with `[ApplicationName]` shared project.

To work further on the images, I replaced the default XAMARIN icon image which is added in `[ApplicationName].Droid\Resources\drawable` folder and additionally added image for Splash screen to be shown on application start-up on Android device.

Once I configured that, I started receiving an annoying warning for the two images when I build the project:

> **libpng warning : iCCP: Not recognizing known sRGB profile that has been edited**

![Warning: libpng warning : iCCP: Not recognizing known sRGB profile that has been edited](https://blob.jsinh.in/media/2015/09/23/SS01-libpng-warning.png)

On quick search I found that most of the people out there fixed this issue by downloading PNG optimizer utility or processing the image(s) with online optimizer tools.

I use Visual studio so I was trying to find more direct and quick way to fix this issue. I came across a Visual studio extension developed by [Mads Kristensen](http://madskristensen.net/?ref=blog.jsinh.in) named **Image Optimizer**.

![Image Optimizer - Visual Studio Extension](https://blob.jsinh.in/media/2015/09/23/SS02-ImageOptimizerExtension.png)

You can [view details of this extension and download](https://visualstudiogallery.msdn.microsoft.com/a56eddd3-d79b-48ac-8c8f-2db06ade77c3?ref=blog.jsinh.in) it from the Visual Studio Extension Gallery.

Once you have it installed, just right click on any image and click on "Optimize image" option.

![Optimize image](https://blob.jsinh.in/media/2015/09/23/SS03-OptimizeImage.png)

This should start optimizing the image you selected and provide information of the optimization in the output window.

![Image optimize result](https://blob.jsinh.in/media/2015/09/23/SS04-OptimizeImageStatistics.png)

After I did that, the warnings were gone and `[ApplicationName].Droid` project build without any issue.

**Reference:** I found this thread on [XAMARIN forums](https://forums.xamarin.com/discussion/31167/suppressing-libpng-warning-iccp-not-recognizing-known-srgb-profile-that-has-been-edited?ref=blog.jsinh.in) where they are discussing similar ways.

If you read the extension description carefully, it says that

> The optimization doesn't effect the quality of the images, but optimizes them using industry proven algorithms for removing EXIF and other metadata

which is the issue, google's build system complaining about.

Also from [Mads's blog](http://madskristensen.net/post/demo-of-image-optimizer?ref=blog.jsinh.in) we know that the extension uses - SmushIt and PunyPNG utilitie inside.

Happy coding!