I experimented with an example Change HUE/Saturationfound on the EFG website: http://www.efg2.com/Lab/Library/Delphi/Graphics/Color.htm

I want to use the methods found in this example to change the color values โโof some bitmaps (which will be used in TImage). There is one problem that I encountered, and this is with TImages, which have transparent bitmaps; I do not want the background color to change its HUE, but rather the actual image data.
Take this model image that we can work with (although you can use any image with transparency):

- Download the daemon
Change HUE/Saturationfrom the link above. - Now load the button image above into ImageOriginal.
- Set Delta Saturation to 1.
- Run the project.
Some output results:


What I would like to do here is to keep the original background color (defined by the lower left most pixels) and adjust only the hue for the rest of the image. Thus, the output results will look like this (edited in Paint.NET):


Let me use another sample image for testing that contains more image data:

As before, with the first image sample, the results may be something like this:


When the desired results should be as follows:


, HUE , , , , X . ( ).
, ( ), :
<411 >
HUE :

:

, HUE , , - EFG . , , HUE, , .
HUE ?
user1175743