[DUG]Image manipulation
John Bird
johnkbird at paradise.net.nz
Fri Nov 17 00:05:12 NZDT 2006
Is there a simple way of altering one colour in an image, eg where there is
a blue altering the blue to for instance red?
Either in a delphi program, or with an image utility.
Reason:
I was thinking of making my own LED light, using an image that has shadows
and reflection in it. I would however like to be able to change the tone of
the image from blue to red to green programmatically, still keeping the
shading and reflections - ie the lighter and darker tones already in it.
something like
ChangeColour(image1,clBlue,clRed); //swap blue to red
Even if I have to do it with an image program it would be ok, and load
several different coloured versions of the image, but doing it in the
program with one image would be especially cool. For instance I know I can
do it with IrfanView - there is an option to switch RGB to GBR and so on,
which achieves the main colour alterations I want, and I can save several
colour versions of the same original image.....
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20061117/6750fbbc/attachment.html
More information about the Delphi
mailing list