We have .NET Core
application which is hosted under Linux based Docker container. System.Drawing
library wasn't working here so we needed to installed libpng
with command apt-get install -y --no-install-recommends libgdiplus libc6-dev
.
It sorted out image problem but we can see lots of warnings in CloudWatch like libpng warning: iCCP: known incorrect sRGB profile
. We also tried to set LogLevel "System.Drawing": "Error"
but no luck.
Is there any way we can completely avoid this messages?
I replaced all Image
process related code from System.Drawing
library to MagickImage
and so now, I don't need libpng
.