How to get a color mode of Image | Community
Skip to main content
khamat_bn
Level 4
Mar 20, 2021 6:06 AM UTC
Solved

How to get a color mode of Image

Hi All,

 

I want to get the color mode of image let say its RGB or Black and white or greyscale.

This property I can see in Adobe Bridge in the colormode section. Now I want this property to fetch in AEM.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

khamat_bn
khamat_bnAuthor
Level 4
Mar 23, 2021 3:20 AM UTC

Hi @asutosh_jena_ ,

As mentioned in the first link , the methods are present in the class of ColorInfo. Bu there issue is we need to manually set the value for asset color and all thing. 

 

I am searching for as solution where by passing image as a argument I need to get the color mode of the image. 

Let me know if you aware of the same.

 

Translate