
Posted 16 January 2009 - 06:54 AM

Posted 16 January 2009 - 05:23 PM
A similar plugin already exists: viewtopic.php?f=16&t=25155
Posted 16 January 2009 - 09:19 PM
Posted 02 February 2009 - 10:56 PM
Posted 02 February 2009 - 10:56 PM
Posted 08 February 2009 - 06:20 PM
Posted 03 July 2009 - 03:11 AM
Posted 03 July 2009 - 03:11 AM
Posted 03 July 2009 - 03:11 AM
Posted 20 October 2009 - 12:53 PM

Posted 12 December 2009 - 07:16 PM
Posted 13 December 2009 - 03:59 AM
Of course, that's what Paint.NET is for. However that is not the function of the plugin.Is it possible to add color to the image in different areas after using the plugin?

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
Posted 13 December 2009 - 04:40 AM
Of course, that's what Paint.NET is for. However that is not the function of the plugin.Is it possible to add color to the image in different areas after using the plugin?
Posted 13 December 2009 - 09:10 PM

Mastering Paint.NET | WhichSymbol+ | Plugin Index | Stereogram Tut | Support Codelab | Blog
Posted 29 December 2009 - 07:32 PM
Posted 30 December 2009 - 01:16 AM
void Render(Surface dst, Surface src, Rectangle rect)
{
// Delete any of these lines you don't need
Rectangle selection = this.EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt();
long CenterX = (long)(((selection.Right - selection.Left) / 2)+selection.Left);
long CenterY = (long)(((selection.Bottom - selection.Top) / 2)+selection.Top);
ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.PrimaryColor;
ColorBgra SecondaryColor = (ColorBgra)EnvironmentParameters.SecondaryColor;
int BrushWidth = (int)EnvironmentParameters.BrushWidth;
ColorBgra CurrentPixel;
for (int y = rect.Top; y < rect.Bottom; y++)
{
for (int x = rect.Left; x < rect.Right; x++)
{
CurrentPixel = src[x,y];
Color col = CurrentPixel.ToColor(); // These are the important lines!
HsvColor hsv = HsvColor.FromColor(col); //
dst[x,y] = CurrentPixel;
}
}
}Color col = CurrentPixel.ToColor(); // These are the important lines!
HsvColor hsv = HsvColor.FromColor(col); //
Posted 07 January 2010 - 09:57 AM