Is there any way, in java, to automatically detect the colors of a certain area in the PDF and either translate them to RGB or compare them to the legend and then get the color?
            Asked
            
        
        
            Active
            
        
            Viewed 193 times
        
    0
            
            
        - 
                    Do you want the color with which some text or some form in that area is originally drawn? Or do you want the color eventually being visible there? – mkl Apr 02 '21 at 12:23
- 
                    What is the "the legend"? Also, it might help you get a good answer if you clarified why detecting the color is important. – Ryan Apr 02 '21 at 17:14
1 Answers
0
            
            
        The way I know is to Convert the pdf into a picture and then get the pixel array of the image You can take the Hint from Java Color Description or from Get Pixel array of image
 
    
    
        SudarshanK
        
- 108
- 14
