I had this thread, some months ago:
viewtopic.php?f=27&t=31621
Anyway i tought it was best to create a new one.
I'm trying to combine some images, but they're not being combined correctly - even using ImageMagick command line.
Based on the output, i've the feeling that its missing the black channel (even the image being there).
I read the old thread entirely, checked, nothing changed since then - this problem suddendly started to happen.
Neither ImageMagick version on my PC was changed.
The images are:
https://drive.google.com/drive/folders/ ... sp=sharing
(Ignore the image with name IMPOSITION).
Combining the Cyan,Magenta, Yellow and black negatives should produce an coloured image (as it always did).
The code i'm using is:
Code: Select all
public magickCollectionBuilder(List<MagickImage> imagesToCombine, string jobName, string outputFolder)
{
int.TryParse(Properties.Settings.Default.maxPreviewSize_Width, out resizedImageWidth);
int.TryParse(Properties.Settings.Default.maxPreviewSize_Height, out resizedImageHeight);
magickImages = new MagickImageCollection();
foreach(MagickImage img in imagesToCombine)
{
img.Resize(resizedImageWidth, resizedImageHeight);
img.Negate();
magickImages.Add(img);
}
composedCMYKImage = new MagickImage(magickImages.Combine(ColorSpace.CMYK));
//composedCMYKImage.ColorSpace = ColorSpace.sRGB;
resizedImageDPI = composedCMYKImage.Density.X;
}
convert IMAGE_BLACK.TIF IMAGE_CYAN.TIF IMAGE_MAGENTA.TIF IMAGE_YELLOW.TIF -negate -set colorspace CMYK -combine FINALRESLUT.PNG
Any input will be highly appreciated
Thanks !
EDIT: This is my current output.
Seems like there are channels missing.