Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Using MagickImage.AddProfile() with ColorProfiles and problems with RemoveProfile()

$
0
0
I'm struggling to use MagickNet to colour-correct images. My wide-gamut monitor requires that images be colour-adjusted if they are not to display extremely exaggerated red hues.

So, I have been experimenting with using MagickImage.AddProfile() to apply a new ColorProfile to images, that I create by loading my monitor's colour profile from disk. At first this seemed to be working, but then I realised that it was only having an effect for images that already have the sRGB profile applied (or, it would seem, any other profile). Non-colour managed images are not affected by adding the monitor profile.

I just can't understand why it would be necessary for an image to have a colour profile already applied to be affected by applying a new, different one.

Additionally, RemoveProfile() appears to have no effect. In the following code, the call to RemoveProfile does nothing.
image.AddProfile(new ColorProfile(@"C:\...\LP2475w_20090407.icc"));
image.RemoveProfile(image.GetColorProfile().Name);

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>