Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
yogiyang
Posted - Jun 09 2018 : 10:12:49 Hello,
I seems that there is a bug in the newly implemented BrushTool.
If we convert any layer to Mask and then convert the same layer back to normal and try to paint on it. The paint tool seems to loose its bearing and paint randomly at various places.
Even if we keep the Mask Layer as it and select it and try to paint it does not work.
Please help me solve this problem as soon as possible.
I have modified the BrushTool demo to demonstrate the problem.
Please check attached project.
To test it.
Compile and run the project. Open a 24bit image. Try to paint on it. Things work as expected!
Now click on the button Add Mask Layer. Now try to paint on the image. It will paint randomly.
I think this is a bug in 7.5.0. I cannot reproduce in the 8.0.0 beta, which has had a lot of changes to the brush code. Please wait for that release (in a couple of weeks).
Posted - Jun 10 2018 : 01:12:51 @Bill, Thank for the tip but I cannot compile code after adding: ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;
I am using IE 7.5.0.
TIA
Yogi Yang
w2m
Posted - Jun 09 2018 : 10:53:40
Try setting ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;
if TransparencyMode1.State = tssOff then
ImageEnView1.BrushTool.TransparencyMode := ietmReplace
else
ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;