Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Magic Wand

Started by guga, March 27, 2019, 03:56:46 AM

Previous topic - Next topic


Hi guys

how to create a magic wand for selecting a certain range of colors like the ones existent in PaintShopPro ?
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:


- take the rgb val of the starting point as the reference
- define R+-X, G+-X, B+-X
- go left & right until you reach a point that is not inside the tolerance