-
Posts
15,728 -
Joined
-
Last visited
-
Days Won
405
Everything posted by BoltBait
-
CodeLab 2.13 Released This is only for Paint.NET 4.0.9+! Another small update today... Changes: ▪ Added auto updater. (Probably should have added this first... ) ▪ Colorwheel controls can have specified defaulted colors. ▪ Double Vector controls can now have defaults. Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ Details In the past, the first color wheel control always defaulted to the currently selected primary color and the second (and beyond) color wheel control defaulted to the currently selected secondary color. Now, you can specify defaults for the color wheel controls. Here is an example: // Name: Drop Shadow Demo // Submenu: Object // Author: BoltBait // Title: Drop Shadow Demo // Version: 0.1 // Desc: Drop Shadow // Keywords: drop|shadow // URL: http://www.BoltBait.com/pdn // Help: #region UICode IntSliderControl Amount1 = 4; // [0,100] Radius PanSliderControl Amount2 = Pair.Create( 0.020 , 0.020 ); // Shadow Offset ColorWheelControl Amount3 = ColorBgra.FromBgr(0,0,0); // [Black] Shadow Color DoubleSliderControl Amount4 = 0.5; // [0,1] Shadow Strength #endregion // Working surface Surface wrk = null; // Setup for using Normal blend op private BinaryPixelOp normalOp = LayerBlendModeUtil.CreateCompositionOp(LayerBlendMode.Normal); // Here is the main render loop function void Render(Surface dst, Surface src, Rectangle rect) { // offset the src canvas onto the wrk canvas if (wrk == null) { ColorBgra ShadowColor = Amount3; wrk = new Surface(src.Size); for (int y=0; y < src.Size.Height; y++) { for (int x=0; x < src.Size.Width; x++) { wrk[x,y] = src.GetBilinearSample((float)(x-Amount2.First*100),(float)(y-Amount2.Second*100)); ShadowColor.A = (byte)(wrk[x,y].A * Amount4); wrk[x,y] = ShadowColor; } } } // Setup for calling the Gaussian Blur effect GaussianBlurEffect blurEffect = new GaussianBlurEffect(); PropertyCollection blurProps = blurEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken BlurParameters = new PropertyBasedEffectConfigToken(blurProps); BlurParameters.SetPropertyValue(GaussianBlurEffect.PropertyNames.Radius, Amount1); blurEffect.SetRenderInfo(BlurParameters, new RenderArgs(dst), new RenderArgs(wrk)); // Call the Gaussian Blur function blurEffect.Render(new Rectangle[1] {rect},0,1); // Now in the main render loop, the dst canvas has a blurred version of the wrk canvas for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = dst[x,y]; CurrentPixel = normalOp.Apply(CurrentPixel,src[x,y]); dst[x,y] = CurrentPixel; } } } The color wheel default comes from the color word in brackets in the comment, not from the color specified in the Bgr call.Notice that when the code is built, the PanSliderControl also uses the specified values as the defaults.
-
If you're up-to-date with everything, try disabling this: By running REGEDIT and going to: HKEY_CURRENT_USER\SOFTWARE\Paint.NET Change: UI/EnableHardwareAcceleration to False
-
How can I tell a plugin is being used?
BoltBait replied to wumpus's topic in Paint.NET Discussion and Questions
When you click on the Effects menu, you'll see a small blue puzzle piece for each installed plugin. (Like this :Plugins: only blue) -
Removing Jpeg artifacts?
BoltBait replied to PedgeJameson's topic in Paint.NET Discussion and Questions
Try: Effects > Noise > Reduce Noise or Effects > Noise > Median -
Save (BMP) As (JPG) reduces dpi
BoltBait replied to wumpus's topic in Paint.NET Discussion and Questions
Nope. -
TR's Monolithic (3D Text Generator) Feb 6, 2022
BoltBait replied to TechnoRobbo's topic in Plugins - Publishing ONLY!
Don't worry about it. TechnoRobbo knows what I mean. -
TR's Monolithic (3D Text Generator) Feb 6, 2022
BoltBait replied to TechnoRobbo's topic in Plugins - Publishing ONLY!
That may be why your screen metrics are off slightly. -
Changing Font Color After Scanning
BoltBait replied to jkang067's topic in Paint.NET Discussion and Questions
If you have my plugin pack installed (link in sig), you can do it this way: 1. Adjustments > Invert colors 2. Effects > Object > Switch Gray to Alpha (click "Black", then "OK") Remember to save as a .PNG file to maintain transparency. -
TR's Monolithic (3D Text Generator) Feb 6, 2022
BoltBait replied to TechnoRobbo's topic in Plugins - Publishing ONLY!
IRON67, is your default Windows language set to German? -
Can drop shadow one photo but not the other.
BoltBait replied to PedgeJameson's topic in Paint.NET Discussion and Questions
Once again, you're answering with Photoshop advice. That is worthless information on this forum and if it continues, I'll ban you for spamming. -
Alpha Displacement menu not displaying correctly
BoltBait replied to preeber's topic in Troubleshooting & Bug Reports
http://forums.getpaint.net/index.php?/topic/9349-plugin-problems-read-this -
How Do I Install Onto SD
BoltBait replied to MarioGigaSquad's topic in Paint.NET Discussion and Questions
That's probably not a good idea since your SD card will not always be present in your system. A better way is to install it normally to your HDD, then copy your c:\Program Files\Paint.NET\ directory to your SD card. When you move the SD card to another computer, navigate to that directory and run PaintDotNet.exe -
How to create these picture enhancements in Paint.NET?
BoltBait replied to Ishi's topic in Paint.NET Discussion and Questions
I use two plugins to improve my landscape photos: http://forums.getpaint.net/index.php?/topic/5578- and http://forums.getpaint.net/index.php?/topic/16736- -
Try this filetype plugin: http://forums.getpaint.net/index.php?/topic/22863-portable-document-format-filetype-plugin-pdf/
-
Save your fill pattern to a file, select the white area, and use my plugin Paste > From File. http://forums.getpaint.net/index.php?/topic/32048-v Hope this helps.
-
-
Default pixelated font in MS Paint?
BoltBait replied to bluemud1977's topic in Paint.NET Discussion and Questions
When using the text tool, play with the options... I used Arial 10 with the Sharp (Classic) rendering. The text lines up almost exactly. The slight differences are probably due to the way paint.net renders text vs. MS Paint. -
Open Paint 2 (Mac) image file with layers?
BoltBait replied to electronicsguy's topic in Paint.NET Discussion and Questions
I seriously doubt Rick would put the support right into paint.net. After all, that's what the plugin system is for. If you post a sample image (family friendly, of course) here (and maybe a link to the file specification), someone might make you a plugin. -
The ice and cherries look good. All you need now is a glass and some vodka.
-
Scrolling horizontally with the mouse wheel
BoltBait replied to Drydareelin's topic in Paint.NET Discussion and Questions
Mouse wheel = vertical scroll Shift+mouse wheel = horizontal scroll -
I'm just going to move this to General Discussion until it is determined that there is a problem in paint.net.
-
http://forums.getpaint.net/index.php?/topic/692-install-update-or-uninstall-trouble-read-this/?p=326988