|
hi Mart�,
good news for you.
conversion with icctrans works quite well - in
both directions.
now i
know how to deal with it :-) values are
the same as in
photoshop - except for
rounding differences.
i must admit - hmmh - i made a beginners
mistake...
when choosing color values with photoshop
'color picker' i was in
L*a*b* color space - and so was very often out of RGB gamut...
got a hot flush when i realised
this.
sorry Mart� for this false alarm, my only excuse is
that i _am_ a
newbie to color models and color handling.
maybe you like to know how i came to
lcms...
i intend to make a tool to adjust
brightness of each individual pixel
of a picture - for now JPEGs.
to do so i modified the IJG source
code - needed three days of
hard
work...
when i came to the point where i had access to the
sample data i
wondered how to modify the RGB values in order to modify
brightness - but without changing the
'color' or at least my
perception of a color becoming
'lighter'.
whatever this _really_ means - need
to find out more about it -
i figured this must be difficult
modifying three independent color
values at once.
in that situation i threw my eyes upon the L*a*b*
color model which
hopefully gives me
what i want - at least it has one
value to adjust
'lightness'.
but how to convert RGB to L*a*b* from within C
code? now i know
the answer and am very happy with
it.
thank you Mart� and all others involved in lcms
project!
andreas
|
- [Lcms-user] conversion sRGB to L*a*b* fatal error Andreas Sch�mann
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal erro... Andreas Sch�mann
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal ... Mart� Maria
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal erro... Mart� Maria
