title: How do I convert an image with colorspace YCbCr to CMYK?
body: <p>I've got images that have a YCbCr colorspace.  But I want to make them CMYK.  How do I do that?  A Perl solution would be great.  A command line (Ubuntu) solution would be good.</p>
  
  <p>I've tried using ImageMagick but my images come out mostly black -- in fact it looks like the colors were reversed.  Here is a sampling of commands I've tried:</p>
  
  <pre><code>convert -colorspace CMYK start.jpg end.jpg
  convert -colorspace cmyk start.jpg end.jpg
  convert -profile ISOcoated_v2_eci.icc -colorspace CMYK start.jpg end.jpg
  convert -profile AdobeRGB1998.icc -profile ISOcoated_v2_eci.icc -colorspace CMYK start.jpg end.jpg
  </code></pre>