Hi All,
There is a requirement, to get the Color Space(RGB,CMYK, Grayscale etc.) of an Image Asset of below types in AEM Java Servlet :
Image Types: "jpeg", "jpg", "png", "tiff", "tif", "psd", "eps", "psb"
We have already tried with below APIs:
- org.apache.commons.imaging.ImageInfo - For some assets it is giving correct value, but for others it is not returning the expected value. Also this API doesn’t support EPS files.
- javax.imageio.ImageIO - This API is not supporting CYMK Color Space files.
Also, the values returned by these APIs are not matching with the values we get in Adobe Photoshop.
Please help us with some solution on the same. Any help will be really appreciated.