-
Posts
15,730 -
Joined
-
Last visited
-
Days Won
405
Everything posted by BoltBait
-
How tu cut perfectly this image?
BoltBait replied to jomla's topic in Paint.NET Discussion and Questions
Step 1: Install my plugin pack - https://forums.getpaint.net/index.php?/topic/32048-v Step 2: Open your image Step 3: Effects > Object > Feather Object (size 1) Step 4: Save image as 32-bit PNG -
If you are saving in JPG format, make sure the quality slider is all the way up.
-
'PostScript' FileType Plugin (.PS, .EPS, .AI)
BoltBait replied to midora's topic in FileType Plugins
paint.net is a bitmap editor--it doesn't have vector support. So, this plugin imports vectors as bitmaps. -
Please debug my plugin - Pixel Gradient Outline
BoltBait replied to Ossobuko's topic in Plugin Developer's Central
Can't you do what you want with the built-in effect Effects > Distort > Frosted Glass ? -
Your computer may be installing updates in the background. Make sure all updates are installed before continuing.
-
Please debug my plugin - Pixel Gradient Outline
BoltBait replied to Ossobuko's topic in Plugin Developer's Central
Second, if you want help with your algorithm, post 2 pictures: (1) a picture of what your canvas looks like before running your effect, and (2) a picture of what you want your result to be. I don't care how you do it, just make a mock up. Your code is a complete mess. We'll need to start from scratch. -
Please debug my plugin - Pixel Gradient Outline
BoltBait replied to Ossobuko's topic in Plugin Developer's Central
First... ...Don't do this. Random is not thread safe. Better to add a Reseed button: #region UICode IntSliderControl Amount1 = 10; //[1,200]Radius ReseedButtonControl Amount2 = 0; // [255] Reseed #endregion Access random numbers this way: (byte)RandomNumber.Next(256); etc. -
CodeLab 2.21 Released This is only for Paint.NET 4.0.6+! Small update today... Changes: ▪ Fixed bug in the Build to DLL screen when using Rich Text help files. (toe_head2001) ▪ Modified updater code to defeat caching. (BoltBait) Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ Thanks to ReMake for the bug report!
-
[Suggestion] Resizable Tools window
BoltBait replied to Swiftness's topic in Paint.NET Discussion and Questions
If you want, you can just close that tools window. Then, when you want to change tools, click here: or, simply learn the shortcut keys for the various tools. -
How does Paint.net add a sharpness effect to a image
BoltBait replied to lopper's topic in Paint.NET Discussion and Questions
I don't know how paint.net does it, but if you are simply interested in an algorithm for sharpening a photograph, here's one: // Author: BoltBait // Submenu: Photo // Name: Sharpen (unsharp mask) // URL: http://www.BoltBait.com/pdn #region UICode IntSliderControl Amount1 = 100; // [0,200] Sharpen #endregion unsafe void Render(Surface dst, Surface src, Rectangle rect) { // Setup for calling the Gaussian Blur (radius = 1) function GaussianBlurEffect blurEffect = new GaussianBlurEffect(); PropertyCollection bProps = blurEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken bParameters = new PropertyBasedEffectConfigToken(bProps); bParameters.SetPropertyValue(GaussianBlurEffect.PropertyNames.Radius, 1); blurEffect.SetRenderInfo(bParameters, new RenderArgs(dst), new RenderArgs(src)); blurEffect.Render(new Rectangle[1] {rect},0,1); // Now in the main render loop, the dst canvas has a blurred version of the src canvas for (int y = rect.Top; y < rect.Bottom; y++) { ColorBgra* srcPtr = src.GetPointAddressUnchecked(rect.Left, y); ColorBgra* dstPtr = dst.GetPointAddressUnchecked(rect.Left, y); for (int x = rect.Left; x < rect.Right; x++) { ColorBgra AdjustmentPixel = *dstPtr; // blurred pixel ColorBgra SourcePixel = *srcPtr; // original pixel // Sharpen (unsharp mask) double NewR = (double)SourcePixel.R + ((double)SourcePixel.R - (double)AdjustmentPixel.R) * (double)Amount1 / 100.0; double NewG = (double)SourcePixel.G + ((double)SourcePixel.G - (double)AdjustmentPixel.G) * (double)Amount1 / 100.0; double NewB = (double)SourcePixel.B + ((double)SourcePixel.B - (double)AdjustmentPixel.B) * (double)Amount1 / 100.0; AdjustmentPixel.R = Int32Util.ClampToByte((int)NewR); AdjustmentPixel.G = Int32Util.ClampToByte((int)NewG); AdjustmentPixel.B = Int32Util.ClampToByte((int)NewB); *dstPtr = AdjustmentPixel; srcPtr++; dstPtr++; } } } If you have my plugin pack installed, this is the same sharpen method my Photo > Landscape plugin uses. I just isolated the sharpen code and posted it above. If you need help understanding what is happening, just ask and I (or someone else) will explain it to you. -
BoltBait's Plugin Pack for PdN v4.0.6+ Updated Aug 16, 2017
BoltBait replied to BoltBait's topic in Plugin Packs
There's your problem right there. Dump Norton's worthless virus checker and use Windows Defender. -
CodeLab 2.20 Released This is only for Paint.NET 4.0.6+! Small update today... Changes: ▪ Intelligent Assistance updates (see previous posts above for description). (toe_head2001) ▪ Frosted Glass added to list of Template effects (Ctrl+N) (BoltBait) Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/
-
[Help]Muti images (same image) as background
BoltBait replied to Zadorosony's topic in Paint.NET Discussion and Questions
If you have my plug-in back installed, you can use effects > Fill > from file -
File->New, or Paste from Firefox ... hangs app
BoltBait replied to Clyde Ford's topic in Troubleshooting & Bug Reports
What version of paint.net are you using? I ask, because I believe Rick fixed this issue in v4.0.14 -
Read this:
- 1 reply
-
- 1
-
Yes
-
What you are asking for is not too hard. Open your project in visual studio. Right-click on your project and choose "Open folder in file explorer" Put this copy of "Compress.exe" into that folder. CompressV2.zip This build of "Compress" allows command line compressing. In visual studio, open your project properties screen and choose "Build events" In the "Pre-build event" section, place the following DOS commands: cd $(ProjectDir) compress help.rtf This will compress "help.rtf" into "help.rtfz" before the build begins. As long as you have "help.rtfz" included in the project as an "embedded resource" everything should work fine.
-
How to make custom shapes for paint.net 4.0.6+
BoltBait replied to BoltBait's topic in Miscellaneous
True. But, you can design something in ShapeMaker and OUTPUT the geo code using the menu File > Export Path Geometry.