Janilabo Posted May 22, 2012 Share Posted May 22, 2012 For replacing bitmap's old colors (oldColorArr) with new color. FastReplaceColor2 [scar]procedure FastReplaceColor2(var bmp: Integer; oldColorArr: TIntArray; newColor: Integer); var h, i: Integer; begin h := High(oldColorArr); if h < 0 then Exit; for i := 0 to h do try FastReplaceColor(bmp, oldColorArr, newColor); except end; end;[/scar] Quote Link to comment Share on other sites More sharing options...