montage of CYMK pictures tagged as sRGB

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
reactormonk
Posts: 1
Joined: 2013-07-06T15:07:16-07:00
Authentication code: 6789

montage of CYMK pictures tagged as sRGB

Post by reactormonk »

I downloaded http://www.astralvault.net/games/SA/Car ... tedPDF.rar and converted the images of one batch with

Code: Select all

convert -density 600 xCreuss.pdf creuss%d.jpg
which worked well.

Code: Select all

$ identify creuss0.jpg
creuss0.jpg JPEG 1133x1658 1133x1658+0+0 8-bit CMYK 1.476MB 0.000u 0:00.000
But

Code: Select all

montage creuss0.jpg -colorspace CMYK -geometry 1133x1658+0+0 -clone 0,0,0,0,0 creuss_bg.jpg
produces a file with

Code: Select all

$ identify creuss_bg.jpg 
creuss_bg.jpg JPEG 3399x3316 3399x3316+0+0 8-bit sRGB 4.595MB 0.000u 0:00.009
sRGB tag instead of CMYK.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: montage of CYMK pictures tagged as sRGB

Post by fmw42 »

I do not believe that montage supports CMYK colorspace. So you probably need to convert to sRGB, then montage, then convert back to CMYK. Best to use profiles if possible.
Post Reply