I used following code:
rgb8_image_t rgb8Img;
jpeg_read_and_convert_image("CMYK.jpg", rgb8Img); //CMYK.jpg is CMYK image
jpeg_write_view("RGB.jpg", const_view(rgb8Img));
to convert CMYK image to RGB image.
The saved RGB.jpg is not correct.
Could you give me some suggestion? Thanks.