How to read CMYK image

36 visualizaciones (últimos 30 días)
Andrea Magni
Andrea Magni el 1 de Sept. de 2018
Respondida: Abdurrahman Tosun el 5 de Oct. de 2019
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?

Respuestas (2)

Naman Chaturvedi
Naman Chaturvedi el 4 de Sept. de 2018
'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 comentario
Andrea Magni
Andrea Magni el 4 de Sept. de 2018
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.

Iniciar sesión para comentar.


Abdurrahman Tosun
Abdurrahman Tosun el 5 de Oct. de 2019
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

Categorías

Más información sobre Import, Export, and Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by