Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to get a color mode of Image

Avatar

Level 4

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.

IMG_6592.jpg

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 4

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. 

khamat_bn_0-1616469764787.png

 

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.