How to read CMYK image

6 ビュー (過去 30 日間)
Andrea Magni
Andrea Magni 2018 年 9 月 1 日
回答済み: Abdurrahman Tosun 2019 年 10 月 5 日
Hello, I tried to read a .jpg image CMYK using imread but it gives this error:
Error using rjpg8c
JPEG images with CMYK colorspace are not currently supported.
How can I read an image like this? Can I convert it into something that is supported by imread?
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 9 月 3 日
Check here

サインインしてコメントする。

回答 (2 件)

Naman Chaturvedi
Naman Chaturvedi 2018 年 9 月 4 日
'imread' doesn't support CMYK jpg images. But, it does support CMYK tiff images. So, you can use some third party tools to convert your jpg image to tiff and then use imread to read the image.
  1 件のコメント
Andrea Magni
Andrea Magni 2018 年 9 月 4 日
Already did. I successfully converted some images into tiff and then rgb, but some of them can't be converted into rgb, so I just deleted them.

サインインしてコメントする。


Abdurrahman Tosun
Abdurrahman Tosun 2019 年 10 月 5 日
it is very easy to save this position. save to your image at paint program, after that convert to jpeg again by using paint program :) if this save you please let me know

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by