Thank you for replies.
app103
Does it have to be a Photoshop Plugin?
Yes. It has to be photoshop plugin because I need to get exact color values that the color picker "second color readout" shows.
Because as you know Photoshop uses it's own color engine, the exact values can be taken only from Photoshop itself.
Ath
Oh, and what would the output file have to look like?
And be aware that the output file will be between 6 and ~32 times the size of the original image file, depending on the information and format. But that would be problematic an big files only, I'd expect.
The output would depend on the color picker values, the output needs to be color picker "second color readout".
That means text values separated by tab separator.
As You know Photoshop supports these color picker values:
Greyscale - K 65
RGB Color - RGB 184 34 40
RGB Web Color - Web B8 22 28
HSB Color - HSB 358 81 72
CMYK Color - CMYK 0 100 100 0
LAB Color - LAB 47 68 48
So for example the output of saved text file of should look like this for different color picker modes:
Valus separated by tab separator for easy importing to for example excel etc.
Greyscale
50
12
45
78
RGB Color
184 34 20
200 5 39
50 50 41
6 55 45
9 58 40
RGB Web Color
B8 22 28
ff 00 ff
ff ff ff
D6 22 28
HSB Color
358 81 42
180 20 80
160 22 72
120 50 52
CMYK Color
0 100 100 0
5 4 100 89
25 5 40 55
30 30 30 30
LAB Color
47 68 71
100 48 72
60 53 66
65 66 41