I looked at the FillTool demo.
These are the lines in the demo that interest me:
ImageEnView1.FillTool.Tolerance := updTolerance.Position;
ImageEnView1.FillTool.SampleSize := updSampleSize.Position;
ImageEnView1.FillTool.MaxFilter := chkMaxFilter.Checked;
ImageEnView1.FillTool.ColorFillValue := btnFillColor.SelectedColor;
ImageEnView1.MouseInteractGeneral := [ miColorFill ];
I want to imitate the demo programmatically to do the following:
1. Select a region of an image
2. Fill (replace) with a color at a specific pixel in the region similar to using the demo when I click on a pixel in the image.
My reasoning is to do it in batch to many images.
-----------------
3 Monitors
Windows 10
Delphi 6,2007 and 10.2
ImageEn v.11.4.0