-
Posts
15,728 -
Joined
-
Last visited
-
Days Won
405
Everything posted by BoltBait
-
I think you would be better off looking for a vector editor for font creation. I know that I can create fonts with CorelDRAW, for example. I've never used InkScape, but you might want to try that... I'm just not sure if they have a font editor for it. But, at least it's a vector editor. Sorry, wish I could be more help.
-
Alias Plugin (Feather's New Best Friend!)
BoltBait replied to Mike Ryan's topic in Plugins - Publishing ONLY!
You can also do this with my Transparency Adjustment plugin... But, this seems more convenient since it is in the same menu. -
So... don't save as jpg. Try png or gif instead. More info here: viewtopic.php?f=15&t=3172 viewtopic.php?f=15&t=6440
-
Please ask your question here: viewtopic.php?f=16&t=23093 Also, you may want to check your caps lock key. It appears to be defective. Please review the board rules: viewtopic.php?f=20&t=3446
-
Of course! Let's look at the default script: #region UICode int Amount1=0; //[0,100]Slider 1 Description int Amount2=0; //[0,100]Slider 2 Description int Amount3=0; //[0,100]Slider 3 Description #endregion 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 { for (int x = rect.Left; x { CurrentPixel = src[x,y]; // TODO: Add pixel processing code here // Access RGBA values this way, for example: // CurrentPixel.R = (byte)PrimaryColor.R; // CurrentPixel.G = (byte)PrimaryColor.G; // CurrentPixel.B = (byte)PrimaryColor.B; // CurrentPixel.A = (byte)PrimaryColor.A; dst[x,y] = CurrentPixel; } } } Obviously, you can't use the following variables: Amount1, Amount2, Amount3... etc. -- these are use for UI elements dst, src -- pointers to the destination and source surfaces rect -- rectangle of the current part of the selection that we are working on selection -- this is used to get the bounds of the current selection CenterX, CenterY -- used to point to the center pixel of the current selection PrimaryColor, SecondaryColor -- used to hold current color values BrushWidth -- used to hold the current brush width as set in the main PdN UI CurrentPixel -- used in the main loop for working with the current pixel x, y -- loop variables That's about it. Of course, there are others, but these are the obvious ones.
-
Am I doing this right? (get / set pixel on a surface)
BoltBait replied to Created by: X's topic in Plugin Developer's Central
Drawing to the source surface is bad, mkay? ...like "crossing the streams" bad. Don't do it. If you've never written an effect before, you should probably start here: http://www.boltbait.com/pdn/codelab/help/overview.html If you have additional questions after reading that page (and any linked pages that look interesting), just post them. -
Sig-Of-The-Week Discussion - 17 is on!
BoltBait replied to Crazy Man Dan's topic in Paint.NET Discussion and Questions
So, when can people start voting for my sig? -
How to change Start Settings
BoltBait replied to franc's topic in Paint.NET Discussion and Questions
Sorry, Oma, I read too quickly. Yes, you managed to describe in less than a thousand words what I needed a picture to describe. Anyway, I do not believe you can change the default colors. However, you can put your most used colors at the start of the palette and have easy access to them. -
How to change Start Settings
BoltBait replied to franc's topic in Paint.NET Discussion and Questions
I think what you are looking for is this: -
After pressing the copy layer button, the new copy shows up higher in the layer list than the original and the new layer becomes highlighted. But, I have to ask... if the two layers are identical... does it matter?
-
Sig-Of-The-Week Discussion - 17 is on!
BoltBait replied to Crazy Man Dan's topic in Paint.NET Discussion and Questions
Heh. I never win, but it doesn't stop me from entering. The only one that I thought I should have won was the Tron one (or maybe the Jerbert one). -
command line option to run auto-level?
BoltBait replied to stuartb's topic in Paint.NET Discussion and Questions
Sorry, that level of automation is not currently supported by Paint.NET. -
PDN Crash- Custom Brushes Plug-in; Newest Version!
BoltBait replied to Champjev's topic in Troubleshooting & Bug Reports
Read this: viewtopic.php?f=10&t=23939 -
I need to make a brass plaque (or plate)
BoltBait replied to topezia's topic in Paint.NET Discussion and Questions
Why not just use the one you found (above)? I usually do a Google Image Search (GIS) when I need something. Anyway, here's my attempt (which should show you why I usually stay out of threads like this): How about choosing 2 gold colors (one darker than the other), then render > clouds, add noise (color saturation 0), motion blur (dir 0, large distance). Draw a black border around your shape. Select that border (magic wand) and copy it to a new layer. Gaussian blur that layer. Lame, I know. But, hopefully it gives you some ideas. -
BoltBait's Plugin Pack for v3.5.11 - Updated January 31, 2015
BoltBait replied to BoltBait's topic in Plugin Packs
Yes. That's exactly it. I'm curious if another DLL is "messing" with my stuff. In fact, you may want to uninstall Paint.NET and completely delete the Paint.NET directory before reinstalling a fresh copy of Paint.NET and then installing the effect DLL files one-by-one. -
BoltBait's Plugin Pack for v3.5.11 - Updated January 31, 2015
BoltBait replied to BoltBait's topic in Plugin Packs
Yata, I would recommend taking ALL files out of your C:/Program Files/Paint.NET/Effects folder. Then, put each plugin back in, one-by-one, testing Paint.NET each time. -
Sure. Just be sure to save your file in .PDN format. You may also need to save your file in another format (jpg or png) for sharing with friends.
-
Feature Request: History in PDN
BoltBait replied to RyuinfinityPDN's topic in Paint.NET Discussion and Questions
Please use search. This has been asked for before... and shot down by Rick. Closing. -
BoltBait's Plugin Pack for v3.5.11 - Updated January 31, 2015
BoltBait replied to BoltBait's topic in Plugin Packs
Yata, I'm running the same setup and I don't see any problems. Seems like there must be something else going on there. Did the plugin DLL files get corrupted? How about Paint.NET, is it corrupted? Are the DLL files "unblocked"? -
Displacement and Alpha mask plugin! (07/06/08:v1.4.1.1)
BoltBait replied to Bleek II's topic in Plugins - Publishing ONLY!
Please don't ever use "anti-aliasing" and "very simple" in the same sentence. Thank you. -
This is typically how people choose colors in Paint.NET: http://www.getpaint.net/doc/latest/en/ColorsWindow.html
-
I am giving this code to you. I will not be publishing it on my own site or plugin pack in its current state (and probably never). Any of the advanced coders can tell you that there are some obvious optimizations that should be made before it is ready for release. Seriously, I only wrote this in order to teach you how to do it.
-
Displacement and Alpha mask plugin! (07/06/08:v1.4.1.1)
BoltBait replied to Bleek II's topic in Plugins - Publishing ONLY!
No, you can not. -
Displacement and Alpha mask plugin! (07/06/08:v1.4.1.1)
BoltBait replied to Bleek II's topic in Plugins - Publishing ONLY!
IndirectUI does not support a "Browse" button. -
Here is another version of the one I posted above. It includes outline width and works with complex selections: BoltBaitOutlineSelection.zip And, here is the source (ugly, I know): // Author: BoltBait // Submenu: Selection #region UICode int Amount1 = 2; // [1,10] Outline Width ColorBgra Amount2 = ColorBgra.FromBgr(0,0,0); // Outline Color #endregion void Render(Surface dst, Surface src, Rectangle rect) { PdnRegion selectionRegion = EnvironmentParameters.GetSelection(src.Bounds); ColorBgra CurrentPixel; int Width=Amount1*2; int m,n; for(int y = rect.Top; y { for (int x = rect.Left; x { CurrentPixel = src[x,y]; for (int v=0; v { m = y-(Width/2)+v; if (m { m=0; CurrentPixel = Amount2; } if (m>=src.Height) { m=src.Height; CurrentPixel = Amount2; } for (int w=0; w { n = x-(Width/2)+w; if (n { n=0; CurrentPixel = Amount2; } if (n>=src.Width) { n=src.Width; CurrentPixel = Amount2; } if (!selectionRegion.IsVisible(n,m)) CurrentPixel = Amount2; } } dst[x,y] = CurrentPixel; } } } Anti-aliasing is an exercise left up to the reader.