save a cmyk image in jpeg

조회 수: 5 (최근 30일)
Yiftach
Yiftach 2025년 8월 19일
댓글: Walter Roberson 2025년 8월 20일
hi
i would like to save a cmyk image in jpeg
thanks!

채택된 답변

John D'Errico
John D'Errico 2025년 8월 19일
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
Yiftach
Yiftach 2025년 8월 20일
thanks !!
Walter Roberson
Walter Roberson 2025년 8월 20일
Sorry, I do not know very much about scripting for Windows.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2025년 8월 19일
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.
  댓글 수: 1
Yiftach
Yiftach 2025년 8월 20일
thanks - looked couldn't find.

댓글을 달려면 로그인하십시오.

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by