Stranger Posted August 10, 2011 Share Posted August 10, 2011 hi, scar ignores the black so if I paint all the pixels of the background of an image I should be able to trace it has with any background, right? Quote Link to comment Share on other sites More sharing options...
wundertüte Posted August 12, 2011 Share Posted August 12, 2011 i think you are looking for this: function FindTransparentBitmapTolerance(Bitmap: Integer; var x, y: Integer; TranspCol, x1, y1, x2, y2: Integer; tolerance: Integer): Boolean; Works like FindTransparentBitmap but with a tolerance parameter for finding any similar colored bitmap. Tolerance is used to find a colored bitmap in range of the bitmap you are looking for. The greater color range you want, the higher the tolerance parameter should be. fill the background with one color and mark it as transparent color greetz Quote Link to comment Share on other sites More sharing options...