I need to read the color values from artwork like eyedropper tool does but in plug-in.
I need to read final color values (CMYK + Spot color) without flattening transparency.
e.g. If there is a 50% transparent rectangle over an image, and we try to read color values of the transparent area using eyedropper tool, color values from rectangle only will be returned. If we do the same after flattening transparency, the modified color values of the image will be returned.
So, the need is to get the modified color values without flattening.