• Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by BoltBait

  1. What music are you listening to?

    As 65,000 Green Day fans eagerly waited at London’s Hyde Park on July 1 for the punk rock band to set up the stage and start playing, the stadium blared out Queen’s Bohemian Rhapsody on the speakers. The inevitable happened – all 65,000 fans passionately broke into song, matching Freddie Mercury’s voice note for note.
  2. Lightning v1.1

    Eli, please don't post crash reports from Beta builds of on plugin threads. This should go on the beta thread in the beta forum.
  3. The PDN format is not for display, it is for archive. Therefore, we don't allow the PDN format on the forum. If you need to distribute a PDN file, zip it up first as ZIP files are allowed on the forum.
  4. So, I was scanning a ton of photographs today and kept having to do the same steps to remove dust from the images. I automated it into a plugin. Enjoy. // Name: Remove Dust // Submenu: Photo // Title: BoltBait's Remove Dust v4.0 // Author: BoltBait // URL: // Desc: Remove dust from scanned photographs // KeyWords: dust|stamp|scan|clone #region UICode byte Amount1 = 0; // [1] Dust Color|White|Black #endregion // Setup for using Lighten blend op private BinaryPixelOp lightenOp = LayerBlendModeUtil.CreateCompositionOp(LayerBlendMode.Lighten); // Setup for using Darken blend op private BinaryPixelOp darkenOp = LayerBlendModeUtil.CreateCompositionOp(LayerBlendMode.Darken); // Here is the main render loop function unsafe void Render(Surface dst, Surface src, Rectangle rect) { for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; ColorBgra* prevPtr = src.GetPointAddressUnchecked(rect.Left, 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 CurrentPixel; if (Amount1 == 0) { // Remove white dust CurrentPixel = darkenOp.Apply(*prevPtr, *srcPtr); } else { // Remove black dust CurrentPixel = lightenOp.Apply(*prevPtr, *srcPtr); } *dstPtr = CurrentPixel; prevPtr = srcPtr; srcPtr++; dstPtr++; } } } There is no UI. Just run it and the white dust specks are gone.There is now a simple UI. Select White or Black and those color specks are gone! It's not perfect. It only works on very small specks. Basically what it does is Clone Stamp them out. Install the dll in the normal way. Then, restart Paint.NET and look in Effects > Photo > Remove Dust for the effect. Download Here For Paint.NET 3.5.11: For Paint.NET 4.0: I'm thinking "Plugin of the Year". Yes?
  5. In additional to my shape pack: Which you can download here: Here is a Push Pin: <ps:SimpleGeometryShape xmlns="clr-namespace:PaintDotNet.UI.Media;assembly=PaintDotNet.Framework" xmlns:ps="clr-namespace:PaintDotNet.Shapes;assembly=PaintDotNet.Framework" DisplayName="Push Pin"> <PathGeometry FillRule="Nonzero"> <PathFigure IsClosed="True" IsFilled="True" StartPoint="235,23"> <BezierSegment Point1="289,0" Point2="437,55" Point3="414,149" /> <BezierSegment Point1="401,230" Point2="291,227" Point3="232,194" /> <BezierSegment Point1="163,160" Point2="140,56" Point3="235,23" /> </PathFigure> <PathFigure IsClosed="False" IsFilled="False" StartPoint="193,163"> <BezierSegment Point1="192.78,178.79" Point2="178.78,202.29" Point3="165,210" /> <BezierSegment Point1="152,235" Point2="178,292" Point3="234,292" /> </PathFigure> <PathFigure IsClosed="False" IsFilled="False" StartPoint="332,216"> <BezierSegment Point1="315,229" Point2="307,248" Point3="308,271" /> </PathFigure> <PathFigure IsClosed="False" IsFilled="True" StartPoint="331,215"> <LineSegment Point="319,230" /> <BezierSegment Point1="363,260" Point2="367,365" Point3="269,390" /> <BezierSegment Point1="194,398" Point2="142,378" Point3="99,318" /> <BezierSegment Point1="61,257" Point2="104,177" Point3="190,175" /> <LineSegment Point="193,164" /> </PathFigure> <PathFigure IsClosed="False" IsFilled="False" StartPoint="158,373"> <LineSegment Point="116,463" /> <BezierSegment Point1="113,477" Point2="135,487" Point3="150,477" /> <LineSegment Point="193,387" /> </PathFigure> </PathGeometry> </ps:SimpleGeometryShape> Enjoy.
  6. Gaussian Blur+ Plugin Forgot to post this one... Tanel asked for a Gaussian Blur function where the user could specify a different amount of blur for each channel (Red, Green, Blue, and Alpha). Here is my take on the problem. The Idea My thought was to modify the Gaussian Blur code to blur only the selected channel. I started with the Code that Illnab1024 sent me and just started making changes. I used CodeLab so that I wouldn't have to worry too much about a UI. The rest came easy. I'm familiar enough with the Gaussian Blur code at this point that these changes only took me about 15 minutes. Please note that this effect shows up under the Effects > Blurs sub menu. The Effect DLL If you like it, you can download the precompiled effect here: BoltBait's Plugin Pack Instructions for Use To use this plugin, simply select the channel you want to blur, then the amount of blur: Then, click OK to finalize your image. Samples Final Thoughts Tanel was happy with the plugin. In fact, he's written at least one tutorial using it (along with my Transparency Adjustment plugin). I hope you enjoy it too.
  7. Trouble Installing

    Follow this link: Start on step 4 and report back the results of each step. In order to help you, we will need the specific error messages and/or screenshots of the errors.
  8. red, blue, green adjustments

    If you have my plugin pack installed, you could try Hue/Saturation+ I first start by setting Alpha Adjustment to -100, then tinkering with the first 4 sliders to isolate the pixels I want to adjust. Then, reset the Alpha Adjustment and tinker with the Adjustment sliders to get the proper shade for the hat.
  9. Photobucket sucks.

    Goodfella and BBQ, update the image in your signature or I will have to delete it.
  10. Here is what I consider my "Essential", award winning , plugin pack. It includes 39 plugins in 29 files , 1 palette file , and 45 shapes . This allows you to pick and choose to install only the effects you want. When you see in this post, you can click it for more information (including source code in some cases). To install, download this file to your Desktop, unzip it, and run the install program. click for more info! I'm going through a really tough financial time right now, so anything you can spare would be much appreciated. Which of my plugin packs is right for you? You need to look at the version number in the title bar. For: Download: 3.5.11 4.0.0-4.0.5 (Only if you can't upgrade to 4.0.6) 4.0.6+ You're in the right place. New for this pack: This plugin pack now includes an installer. Download the zip file to your desktop, unzip it, and run the installer. Also, all plugins now include a help file. Once you run an effect, click the [?] button in the upper right corner of the effect's UI (near the red X button). Note: All plugins in this pack have been tested with Paint.NET v4.0.6 release. Once you install this plugin pack, here's what you get: Adjustments menu Color Balance Easily adjust the tint of an image. Useful for color correcting photographs taken indoors without flash. The difference between this and the built-in Hue/Saturation adjustment is that this one will affect black and white areas. Hue/Saturation+ Conditional Hue / Saturation effect. Temperature/Tint Temperature / Tint effect. *NEW* Transparency Adjust the transparency of a selection just like you can adjust it for an entire layer. Effects menu Flip Horizontal - flips the selection on the vertical axis. Similar to the layer flip of the same name. Flip Vertical - flips the selection on the horizontal axis. Similar to the layer flip of the same name. Effects > Artistic menu Dream This makes your picture look like it was seen in a dream. + Oil Painting+ Makes your photographs look painted. Pastel This makes your picture look like it was drawn with pastel chalk or water color paint. Effects > Blurs menu Gaussian Blur Plus - With it, you can blur only the Red, Blue, Green, or Alpha channel of the image. It also allows you to blend the original picture with the blurred image. (Try blurring all channels of the image with a radius of 10 and a Darken blend mode. Cool stuff.) Effects > Fill From Clipboard Fills the current selection with the graphic on the clipboard. From File Fills the current selection with a graphic file. Effects > Object menu An "object" is a group of pixels on a layer that is completely surrounded by transparent pixels (or the edge(s) of the canvas). These are useful when doing "cutouts" or with text on a new layer. Bevel Object This effect allows you to make objects 3D. Works great with text! Feather This effect softens the edges of objects. Inner Shadow Renders a shadow on objects so they look like they have been cut out. Object Shadow Renders a shadow behind objects. OldFeather "True Feather" is back! So many people have asked for this that I'm bringing it back for this pack. Enjoy! Outline - This effect puts an outline of the selected color around your object. Paste Alpha - This effect takes the graphic on the clipboard and converts the colors to shades of gray and then uses that for the alpha values of the current layer. Useful for using masks. Switch Alpha to Gray - This effect converts the image to shades of gray based on the alpha value of each pixel. Useful for making masks. Switch Gray to Alpha - This effect deletes white from and image and converts all other pixels to black. Useful for isolating line art. Effects > Photo menu Combined Adjustments Many adjustments for photographs all on one screen *UPDATED* Level Horizon Rotate an image by drawing a line across the horizon. Meme Maker Create your own Memes. Remove Dust Removes little white dust particles by clone stamping them out. I find this very helpful when scanning photographs. Sharpen Landscape Makes your landscape photographs look like they belong in a magazine! Seam Carving - Horizontal Reduce the height of an image without scaling (squishing) the image. Seam Carving - Vertical Reduce the width of an image without scaling (squishing) the image. Vignette+ Extends the capabilities of the built-in Vignette effect with colors and the ability to render a vignette to a blank canvas. Effects > Render menu Polygon / Stars This effect allows you to render triangles, pentagons, hexagons, etc. It also allows you to render stars. It is useful in making standard shapes and the pointed edges of stickers. Flames This effect allows you to render flames. It is based on Tom Jackson's excellent fire tutorial. Gradients Render colorful HSV (rainbow) gradients. Grid / Checkerboard Create checker board or grid patterns. Effects > Selection menu Effects in this menu perform their effect by following the selection outline (marching ants). While they will work with a square selection (or no selection by using the edges of the canvas as their path), they are more interesting when the selection is curved , selected by hand , or by magic wand . Bevel Selection This effect allows you to make selections 3D. Works great with text! Blur Selection Edge - This effect feathers the edges of a selection using the surrounding colors instead of transparency. Useful when the selection is not surrounded by transparent pixels. Feather Selection This effect softens the edges of your selection. It works just like the feather in other graphic$ program$. Inner Shadow Selection Renders a shadow on the inside of a selection so it looks like it has been cut out. Outline Selection This effect allows you to outline a selection. Effects > Stylize menu Floyd-Steinberg Dithering This effect will reduce the colors of your image using the Floyd-Steinberg dithering technique. Window > Colors > More > Open Palettes Folder I have also included my Rainbow Palette. This is very popular on the forums. In the Color docker window, click the button and choose Rainbow from the list. Custom Shapes This plugin pack also includes 45 custom shapes. This pack supersedes my plugins available elsewhere. I will be updating the other locations eventually, but if you want the latest versions, download my plugins from this post. Enjoy. Post on this thread and tell me what your favorite plugin is. History: BoltBait's Plugin Pack Version 1.0 was Downloaded 35,641 times. BoltBait's Plugin Pack Version 1.1 was Downloaded 06,045 times. BoltBait's Plugin Pack Version 1.2 was Downloaded 81,222 times. BoltBait's Plugin Pack Version 1.3 was Downloaded 34,921 times. BoltBait's Plugin Pack Version 1.4 was Downloaded 16,611 times. BoltBait's Plugin Pack Version 2.0 was Downloaded 66,022 times. BoltBait's Plugin Pack Version 2.1 was Downloaded 06,569 times. BoltBait's Plugin Pack Version 3.5 was Downloaded 87,941 times and is still available. BoltBait's Plugin Pack Version 4.0 was Downloaded 18,480 times. BoltBait's Plugin Pack Version 4.1 was Downloaded 14,652 times. BoltBait's Plugin Pack Version 4.2 was Downloaded 09,374 times. BoltBait's Plugin Pack Version 4.2 was Downloaded 18,696 times. BoltBait's Plugin Pack Version 4.4 was Downloaded 1,331 times.
  11. Application Not Found

    Go HERE and click the download link in the upper right corner of the page.
  12. Effects in the Object menu work on objects. An "object" is a group of pixels on a layer that is completely surrounded by transparent pixels (or the edge(s) of the canvas). These are useful when doing "cutouts" or with text on a new layer. Effects in the Selection menu work by following the shape of the selection outline (marching ants). While they will work with a square selection (or no selection by using the edges of the canvas as their path), they are more interesting when the selection is curved , selected by hand , or by magic wand .
  13. The Comedy Thread

  14. No, I don't have a version without the installer. However, I will look at this over the next weekend and see why it won't accept a .net framework above the 3.5 it was built with. (I thought I specified 3.5+ and not specifically 3.5.)
  15. Try this: - Open image (It helps if the image is a jpg format.) - Effects > Photo > Sharpen (Amount 20) Click OK. - Ctrl+F (Repeat until it looks like the photo above.)
  16. Highlight your area and press Shift+Backspace. This will fill the area with your secondary color. To fill with primary color, press Backspace (without shift) instead.
  17. Are you asking me to do your work for you?
  18. Step 1: Install my plugin pack - Step 2: Open your image Step 3: Effects > Object > Feather Object (size 1) Step 4: Save image as 32-bit PNG
  19. Animals

    Please don't make worthless polls.
  20. Happy Birthday Rick Brewster!

    Happy Birthday!
  21. Grainy image on Output

    If you are saving in JPG format, make sure the quality slider is all the way up.
  22. Is your "friend" the bank?