save a cmyk image in jpeg
30 views (last 30 days)
Show older comments
Yiftach
on 19 Aug 2025 at 7:47
Commented: Walter Roberson
on 20 Aug 2025 at 17:03
hi
i would like to save a cmyk image in jpeg
thanks!
0 Comments
Accepted Answer
John D'Errico
on 19 Aug 2025 at 12:38
No. Imwrite cannot save a CMYK image to JPG. However, it can save a 4 channel image to a PNG format. Then I would open the image in Photoshop, or your favorite image editing tool, and save it to a JPG format. An extra step, but it should be workable. A quick check online (since it has been 25+ years since I used Photoshop) did tell me that Photoshop can save an image as a CMYK JPG file.
4 Comments
More Answers (1)
Walter Roberson
on 19 Aug 2025 at 8:57
Saving jpeg with CMYK is not supported by imwrite() or any other Mathworks supported function.
There just might happen to be appropriate code in the File Exchange, but I would not count on it.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!