The MASM Forum

General => The Laboratory => Topic started by: guga on March 27, 2019, 03:56:46 AM

Title: Magic Wand
Post by: guga on March 27, 2019, 03:56:46 AM
Hi guys


how to create a magic wand for selecting a certain range of colors like the ones existent in PaintShopPro ?
Title: Re: Magic Wand
Post by: jj2007 on March 27, 2019, 04:32:10 AM
- 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
etc