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

New Post: Can we add more than one color profile to an Image?

$
0
0
Can we add more than one color profile to an Image? Is the following code correct and if so, how can we verify that two or more color profiles added to the image?
                using (MagickImage image = new MagickImage(openFileDialog1.FileName))
                {
                    ColorProfile colorProfile = new ColorProfile(@"C:\Windows\System32\spool\drivers\color\sRGB Color Space Profile.icm");
                    ColorProfile colorProfile2 = new ColorProfile(@"C:\WINDOWS\system32\spool\drivers\color\RSWOP.icm");
                    image.AddProfile(colorProfile);
                    image.AddProfile(colorProfile2);
                    image.Write(@"e:\image_1_with_profile.jpg");
                }


Viewing all articles
Browse latest Browse all 3693

Trending Articles



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