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

New Post: Adding installed Image Color Profiles (.icm) into an image in C#

$
0
0
Lets make it simple
  1. Image Loaded
    MagickImage image = new MagickImage(outputFilePath
  2. Profile added to image
    image.AddProfile(new ImageMagick.ColorProfile (prof.FilePath));
  3. Image saved
    image.Write(outputFilePath);
    
    
  4. Saved Image loaded in another application
      MagickImage image = new MagickImage(openFileDialog1.FileName)
  5. Get profile called
      ColorProfile profile = image.GetColorProfile();
  6. Nothing returned "profile" object is null
Please tell me whats wrong with the code? or anything missing?

Viewing all articles
Browse latest Browse all 3693

Trending Articles