How to get a color mode of Image | Community
Skip to main content
khamat_bn
Level 4
March 20, 2021
Solved

How to get a color mode of Image

  • March 20, 2021
  • 2 replies
  • 1303 views

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.

2 replies

khamat_bn
khamat_bnAuthor
Level 4
March 23, 2021

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.