I have this file located here:
https://www.dropbox.com/s/4aa0pkptw1yfpsz/cartoon_network_logo_r.eps?dl=0
What I am trying to do is take an .eps image and convert it to .png. It does it, but the resulting image loses transparency while maintaining the true black color(000000) in the image. If I change the color space to be RGB when reading the image, it loses the true black color but maintains transparency. The black is a shade or two off. My goal is to convert the image while maintaining transparency and the true black color.
https://www.dropbox.com/s/4aa0pkptw1yfpsz/cartoon_network_logo_r.eps?dl=0
What I am trying to do is take an .eps image and convert it to .png. It does it, but the resulting image loses transparency while maintaining the true black color(000000) in the image. If I change the color space to be RGB when reading the image, it loses the true black color but maintains transparency. The black is a shade or two off. My goal is to convert the image while maintaining transparency and the true black color.
var destinationStream = new FileStream(@"C:\test.png", FileMode.Create);
//this is the image in dropbox
string sourceFilePath = sourceFile;
MagickReadSettings settings = new MagickReadSettings();
//settings.ColorSpace = ColorSpace.RGB;
MagickImage magickImage1 = new MagickImage(sourceFilePath, settings);
magickImage1.Strip();
magickImage1.Format = MagickFormat.Png;
destinationStream.SetLength(0);
magickImage1.Write(destinationStream);
Thanks