It really works, not bad at all.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1540
Maybe it would be better to convert RGB to HSB for the sharpen process, because the way it works now, it slighty alters the color tone. This effect is not that obvious, so for a normal sharpen operation, it doesn't matter that much.
Maybe I'll fix this later.
EDIT: Well just added a HSL version, but due to the convertion RGB>HSL>RGB it's real slow.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1540
Maybe it would be better to convert RGB to HSB for the sharpen process, because the way it works now, it slighty alters the color tone. This effect is not that obvious, so for a normal sharpen operation, it doesn't matter that much.
Maybe I'll fix this later.
EDIT: Well just added a HSL version, but due to the convertion RGB>HSL>RGB it's real slow.