I'm very new to C# - I only started learning it a few days ago. So here's the first plugin I managed to make - it creates a gradient in the shape of the selection. It works fine, but it's a bit slow... can someone help me optimize the code? Download plugin from this link: Shaped Gradient 1.1 Here's sample output: Here's the source: #region UICode ColorBgra Amount1 = ColorBgra.FromBgr(0,0,0); // Center colour ColorBgra Amount2 = ColorBgra.FromBgr(0,0,0); // Edge colour #endregion void