procedure RemoveColor(img: TImage32; color: TColor32);
Removes the specified color from the image, even when that color is blended with other colors.
See https://stackoverflow.com/questions/9280902/
uses Img32, Img32.Extra, Img32.Fmt.PNG; ... img := TImage32.Create; img.LoadFromFile('beetle_aq.png'); //remove color aqua EraseColor(img, clAqua32); img.SaveToFile('beetle_2.png'); img.Free;
FilterOnColor, ReplaceExactColor
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025