Assign a color profile to a bitmap
View as MarkdownReplaces the embedded color profile of an image with a new one.
Code Snippet
using (var bitmap = new Bitmap("Chicago.jpg"))
{
bitmap.ColorProfile = ColorProfile.FromSrgb();
bitmap.Save("SetEmbeddedProfile.jpg");
}
Input
Chicago.jpg
Output
SetEmbeddedProfile.jpg