I need input on a possible bug in v3.5.0
#15
(01-21-2023, 11:17 AM)TempodiBasic Wrote: @TerryRitchie

Hi
I'm very glad to say you... I have found the bug!

Yes, IMHO if you change one line of your MakeMask routine, your tool works perfectly!
Code: (Select All)
cc~& = Point(10, 10) '_RGB32(255, 0, 255) '                       set the color to be used as transparent
the issue comes out from the setting of the background color in MakeMask routine!
We must take background/ transparent color from the image passed to the routine!
Please take a try and you enjoy to see working your tool for detection!
Thanks to Bplus for rising out this bug! We get another step toward a good tool!

Oh for goodness sake. I hard coded the transparent color for the example images instead having the routine detect the transparent color. Thanks for finding this. The code works for this example but will fail when images with differing transparent colors are used. Your catch will make this a true general use routine.

I'll work on changing the code and upload the result here.
Reply


Messages In This Thread
RE: I need input on a possible bug in v3.5.0 - by TerryRitchie - 01-21-2023, 03:53 PM



Users browsing this thread: 4 Guest(s)