comp.graphics.algorithms
Subject: Re: Color manipulation
hoffmann@fho-emden.de wrote:
> The OP had asked:
>
> 'The functionality i have to replace is adjusting the red,
> green,blue, density, contrast and saturation of an image.'
>
> How the heck does LittleCms help to ADJUST RGB ?
Via abstract profiles.
cmsCreateBCHSWabstractProfile()
This function creates an abstract profile Lab->Lab that adjusts
Brightness, Constrast, Hue, Saturation and white point. For
density, well, you cannot do that because RGB has no density
at all, but you can map each channel across a curve by using
cmsCreateLinearizationDeviceLink
Of course you need to know which RGB space you are in, or
just assume sRGB if you don't care about precision.
Hope this helps,
Regards
Marti Maria
The littleCMS project
http://www.littlecms.com
Reply
View All Messages in comp.graphics.algorithms
path:
Color manipulation =>Re: Color manipulation =>Re: Color manipulation =>
Replies:
Re: Color manipulation
Copyright © 2006 WatermarkFactory.com. All Rights Reserved.


