i am experiencing a rather confusing issue. The procedure is as follows.
1. Extract color profile from image
2. Do some image processing (resizing, resampling, etc.)
3. Embed the original profile and create a TIF
This works really well, with one exception. If the original image that is provided contains no color information (a grayscale image) but is set to RGB, then the resulting TIF after step 3 will contain an invalid color profile. Therefore a variety of professional printing machines will not accept it and photoshop, upon opening such an image, will state that the color profile is invalid and cannot be used.
I was digging for solutions and found a thread here which basically resulted in the user modifying his installed ImageMagick version instead of actually working around the problem. I also found a thread on Stackoverflow where a user wrote that it works for him to pick a random pixel from the image, add a few color values to it and then write it back into the original image before further processing. But unfortunately this is not an option for me and i fail to understand why it would have to be done. There must be a correct way to do this.
Here is what is running on my server:
Can you guys help me out and tell me how to solve this problem?Version: ImageMagick 6.8.6-8 2013-08-19 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP Modules
Delegates: bzlib djvu fontconfig freetype gslib jng jp2 jpeg lcms openexr pango png ps rsvg tiff wmf x xml zlib
Thank You!