I'm using the Combine method from MagickCollection to combine 4 grayscale images into a final one (CMYK).
However, i'm having a weird situation:
When looking the final image from Windows Photo Viewer\Photoshop , the black channel is missing. When looking from Google Drive Preview, the black channel is there.
I believe Google Drive Previewer is compensating the black channel ; however, others don't.
Here's the code i'm using:
Code: Select all
static void Main(string[] args)
{
using (MagickImageCollection images = new MagickImageCollection())
{
images.Add(@"C:\imgfolder\Bitmaps\8FILES_IMPOSED_4UP_BACK.PDF (C)00.TIF");
images.Add(@"C:\imgfolder\Bitmaps\8FILES_IMPOSED_4UP_BACK.PDF (M)00.TIF");
images.Add(@"C:\imgfolder\Bitmaps\8FILES_IMPOSED_4UP_BACK.PDF (Y)00.TIF");
images.Add(@"C:\imgfolder\Bitmaps\8FILES_IMPOSED_4UP_BACK.PDF (K)00.TIF");
using (MagickImage image = images.Combine())
{
image.Write(@"C:\imgfolder\Bitmaps\combineoutput2.tif");
}
}
}
Windows Image Viewer preview:
Google Drive Preview:
Do i have to set colorspace somehow when creating the final image ?
Thanks in advance