-
Posts
5,029 -
Joined
-
Last visited
-
Days Won
155
Posts posted by toe_head2001
-
-
- Popular Post
ShapeMakerScalable Vector ShapesLines and Curves for Paint.NETby
The Dwarf Horde
toe_head2001 - Code Lead (v1.3 onward), DesignTechnoRobbo - Code Lead (up to v1.2.3), DesignRed Ochre - Graphics Lead, DesignEgo Eram Reputo - Documentation Lead, DesignBoltBait - Beta Testing, DesignVersion 1.7.0.4
SpoilerChangelog
1.7.0.4 (May 21, 2022)
- Fixed: Opening the PDF help file
- Optimized: Import/Export is now much faster.
1.7.0.3 (March 2, 2022)
- Fixed: Work around XmlSerializer bug in .NET v6.0.2
- Fixed: HiDPI bugs
1.7.0.2 (October 2, 2021)
- Fixed: Crash when calculating Path linking
1.7.0.1 (April 17, 2021)
- Fixed: Geometry Import for European locales.
1.7.0.0 (October 6, 2020)
- New: Linked and Closed paths are now indicated in the Path List.
- Changed: Operations (scale, rotate, move) will also now be performed on any paths that are linked to the current path, and those paths will be highlighted in yellow
- Changed: Terminating nubs (First and Last nubs on a path) are now different shapes. The first is now a triangle, and the last is now a square. If a terminating nub is linked to another path, it's shape will be filled, instead of just outlined.
- New: Magnetic Nubs - if you drag a Start/End nub very near a Start/End nub of a different path, the dragged nub will snap to the other nub. This makes it easier to Link two existing paths. (Press the Alt key to disable this behavior)
- New: Nexus Nubs - If you move a Start/End nub that is linked to another Start/End, then both nubs will get moved together. Thus the two linked path will stay linked. (Press the Alt key to disable this behavior)
- Removed: Panning with the Alt key. Panning can still be performed with the scrollbars or by clicking the mouse wheel.
- Fixed: a few bugs with Undo and redo
- Changed: Closed Paths will now display their closing line in the color gray and it will be dashed. Closing a path will also no longer have any effect on the appearance of nubs.
1.6.0.0 (August 7, 2020)
- New: Import Geometry from SVG, Android Vector Drawables, and standard XAML
- New: Basic support for SVG export
- Changed: Replaced 4x and 8x zoom with 5x and 10x, respectively
- Fixed: Outline Width no longer has any effect when just drawing as Filled
- New: Auto Scale Shape added to the Edit menu
- New: Added a grip to the Operation Box, so it can be freely moved
- New: Clipping area is now indicated when Drawing to the PDN canvas
- New: Opacity can now be adjusted for the 'Draw on Canvas' colors- Fixed: Crash that could happen with Smooth Cubic Beziers
1.5.0.0 (March 21, 2020)
- Changed: ShapeMaker should now render shapes exactly like Paint.NET's Shape Tool renders them.
- Changed: Rotation and Scaling are now done within the shape editor. Press Ctrl+M, or Ctrl+Click on a nub
- Changed: Shapes now scale properly to the Paint.NET canvas. The 'Output Scale' has therefore been removed from ShapeMaker
1.4.0.1 (November 9, 2017)
- Fixed: PDN Shape Import/Export for European locales.
1.4 (April 25, 2017)
- Changed: The plugin dialog can now be resized
- New: Scrollbars have been added to provide an alternative method to pan the canvas
- New: A Redo button for when you click Undo too many times. (Undo/Redo history is still limited to 15 enumerations)- Changed: The GUI has been refreshed to have a more native appearance
- New: Added a 'Clone Path' button and a 'Remove Path' button below the Path List (same as the ones in the Edit menu)
- New: When panning the canvas, the mouse cursor will change to a pan cursor
- New: When moving a Path or Shape, the mouse cursor will change to a move cursor
- New: The image on the Clipboard can now be used for the Tracing Image
- Changed: The Zoom button will now cycle through the zoom factors (use Alt key to reverse order)
- Changed: The Zoom button will now respect the viewport (pan location). No more zooming to the absolute center of the canvas
- Fixed: The "Draw on Canvas" option now works properly with selections
- New: The Cursor location is now reported in the status bar
- New: When Rotating or Scaling, the center point is now drawn on the canvas (as a red cross-hair)
- New: A 'Discard Path' button has been added for when making new paths
- Changed: The 'Nub Location' in the status bar will now update as soon as you click a nub... meaning you no longer have to move the nub.
- New: The Mouse Wheel can now be used on the Rotation knob. Scroll for 5 degrees. Shift+Scroll for constraints of 15 degrees
- Changed: Max Paths has been increased to 200
- Fixed: Clicking Undo after Removing an existing path will no longer add it back twicev1.3 (Dec 11, 2016)
Plugin Canvas
- Changed: Edits to existing Paths are now saved automatically
- New: Zoom in/out with the Mouse Wheel scroll
- New: Pan (when zoomed) with the Middle mouse button (aka mouse wheel button)
- New: When panning, pan position indicators (pseudo scrollbars) become visible
- New: The active/selected path is now highlighted with a minor glow
- Changed: You no longer have to deselect the current path before you can select a different one
- Changed: The "Nub Location" label will no longer update when you randomly drag your clicked-mouse across the canvas. It will only update when a nub has actually been added, removed, or moved
- Fixed: The first nub on Smooth Cubic Beziers (the Green ones) was black, instead of Teal
- Fixed: The first nub was being drawn in the wrong location when 'Close Individual Path' was enabled, in some cases
User Interface
- Changed: The knob no longer is used for Path/Shape scaling
- New: There is now a Slider for scale
- Changed: Knob will now loop around at 179/-180°
- New: Add a proper status bar to display: Nubs Used, Paths Used, Nub Location, and Zoom factor (zoom is also a button)
- Changed: Tooltips for items in the toolbar now include associated Keyboard Shortcuts
- Changed: units (°) are now include in the Knob's tooltip
- Fixed: Proper HiDPI scaling on all UI controls
- Changed: Ellipses (...) are now on appropriate menu items
- Changed: The Up and Down buttons below the path list will now become disabled when the the first or last item is selected, respectfully.
- Changed: Items in the Edit menu will now be disabled when they would have no effect.
- New: Holding shift on the rotation knob will now snap the value to the nearest increment of 15 degrees.
- Fix: The background images on the Sweep and Arc Size buttons weren't toggling when the buttons were clicked
Misc
- Changed: Undo history is now more robust. Panning, selecting a path, or simply clicking on the canvas will no longer produce an undo history. 'Clone Path', 'Clear all Paths', and 'Import PDN Shape' will now produce an undo history.
- Round start/end caps are now used for the "Draw on Canvas" Rendering
Older Releases
ForewordThe ShapeMaker plugin is a tool which facilitates the creation of Scalable Vector Shapes, Lines and Curves.The tool itself uses a WYSIWYG interface where Lines, Curves and entire Paths can be created and manipulated using just the mouse.Knowledge of the complex Vector Shape structure and syntax is not required.ShapeMaker will create all that complex stuff for you and generate the Shape, code, or a complete reusable file.We hope you like ShapeMaker!The ShapeMaker Plugin
OrVideo Tutorials
http://forums.getpaint.net/index.php?/topic/32198-shapemaker-tutorials/?p=430223
- 4
- 16
-
Yeah, I'd say just use Pyrochild's CanvasPanel UserControl. It would work well in Brush Factory.
The source files are available with a libre license (MIT license)
https://github.com/bsneeze/pdn-liquify/tree/master/Liquify/common
- 1
-
You just need to use a font that matches.
- 1
-
Movie Posters come in a variety of style; all of which could be considered "legit".
Is there a specific style that you want to emulate?
10 minutes ago, NicKageB said:and I downloaded a patch with new effects and texts.
What patch was that? Could we get some details?
-
19 minutes ago, NomBot said:
1. user enters settings in UI.
2. this is saved to a file.
3. plugin reads the file.
4. plugin alters UI based on the file.(persistent save of UI option)
I have no idea why you'd do that, it can be done in WinForms for sure.
If you need an example of the XmlSerializer in action, you can take a look at my Tartan plugin. Here's the two commits that added the XmlSerializer import/export functionality.
26 minutes ago, NomBot said:also looked at optionbased, but can it get around the problem? and is there any doc for this other than play it by ear?
I'm not sure it could be done with OptionBasedEffects. Maybe it can. There really isn't any documentation for it.
I used it for my Graph Paper plugin, and I just figured out what I needed to as I went along.
-
1 hour ago, NomBot said:
... then alter the UI based on that.
What all are you wanting to change? Just setting the values (or other properties) of different controls?
The XmlSerializer in .NET makes this very easy. It automatically generates a properly structured XML file based on your code, making the importing and exporting of plugin settings (values) nearly effortless. Or it could be used for loading presets into a plugin.
Is that what you're looking for?
1 hour ago, NomBot said:Any tips on doing this while avoiding indirect UI?
If want to avoid using WinForms, you could try OptionBasedEffects. It gives you a good balance of the customization of WinForms and the abstraction of IndirectUI.
-
This effect is essential one line of code:
dst[x, y] = (rand.Next(100) < Amount) ? Image[x, y] : src[x, y];
Simple and effective.
- 1
-
I just used 'AA's Assistant' on its default values, and it worked fine.
0) Start with large resolution --> https://s3-ap-southeast-1.amazonaws.com/cdn1.zepo.in/upload/product_photos/base/0/33/93/original1.2186538.1.jpg
1) Use the Magic Wand to select the region(s) you wish to remove
2) Delete the selection
3) Run the 'AA's Assistant' plugin.
-
8 minutes ago, Panchdara said:
Didn't mean to be bearer of bad news.
"Bearer of bad news". Non-sense! Please report issues.
6 minutes ago, Panchdara said:Ego, I'm not familiar enough with PDN and it's plugins so don't fully understand your statement.
Don't worry, his comment was directed at me, not you.
-
1 minute ago, hamwizard said:
How do I use your code?
Simply copy and paste into the CodeLab plugin.
-
You could try the 'Conditional Hue/Saturation Adjustment' plugin.
http://forums.getpaint.net/index.php?/topic/13003-evans-effects-open-source-as-of-october-16-2012/
-
Can you show us a screenshot of this behavior?
-
10 hours ago, mesutpiskin said:
Do you have Turkish language support?
There is not a Turkish translation currently.
10 hours ago, mesutpiskin said:If I want to translate Turkish language support voluntarily, how can I do it.
Here are the official instructions for creating a new translation for paint.net:
-
-
Alright, but is the paint.net installer still asking you to install the .Net Framework?
-
2 minutes ago, StevenB said:
it's not on my PC
I assume you are referring to the .NET framework here.
Try running the standalone .NET framework installer instead.
https://www.microsoft.com/en-us/download/details.aspx?id=53344
Then run the paint.net install afterwards.
-
There you go... an option to make the cells opaque. Alpha values above the Tolerance level will become fully opaque, and values below the Tolerance level will become fully transparent.
Checkbox must be enabled/true.
Spoiler// Name: Cell Board // Submenu: Stylize // Author: toe_head2001 // Title: // Version: 0.2 // Desc: // Keywords: // URL: // Help: #region UICode IntSliderControl Amount1 = 10; // [0,100] Cell Size IntSliderControl Amount2 = 1; // [0,100] Cell Spacing CheckboxControl Amount3 = false; // [0,1] Make cells opaque IntSliderControl Amount4 = 127; // [1,255] Cell Opacity Tolerance #endregion void Render(Surface dst, Surface src, Rectangle rect) { int cellSize = Amount1 + Amount2; PixelateEffect pixelateEffect = new PixelateEffect(); PropertyCollection pixelateProps = pixelateEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken pixelateParameters = new PropertyBasedEffectConfigToken(pixelateProps); pixelateParameters.SetPropertyValue(PixelateEffect.PropertyNames.CellSize, cellSize); pixelateEffect.SetRenderInfo(pixelateParameters, new RenderArgs(dst), new RenderArgs(src)); pixelateEffect.Render(new Rectangle[1] { rect }, 0, 1); ColorBgra CurrentPixel; for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = dst[x, y]; if (Amount3) { if (CurrentPixel.A >= Amount4) CurrentPixel.A = 255; else CurrentPixel.A = 0; } if (x % cellSize < Amount2 || y % cellSize < Amount2) CurrentPixel.A = 0; dst[x, y] = CurrentPixel; } } }
- 1
-
Are you saying you successfully installed paint.net, but after a system reboot it is no longer installed?
-
You need to update your copy of CodeLab to the latest. v2.17 was the Bee's Knees, and v2.18 had some nice speed improvements.
If you want to eliminate the translucent edges on the shapes, I can easily add a slider for opacity tolerance. For example, cells above 127 will become 255, and cell 127 & below will become 0.
- 1
-
You need to download and install the latest version of the PSD plugin. It is compatible with the newer versions of paint.net.
http://forums.getpaint.net/index.php?/topic/18128-photoshop-psd-file-plugin-newest-version-250/
- 1
-
Eli, that's a sad story ... but also funny at the same time
@hamwizard, here's a script. Copy and paste it into CodeLab. If it's to your liking, I can publish it here on the forum as a plugin. If not, let me know what to change.
Spoiler// Name: Cell Board // Submenu: Stylize // Author: toe_head2001 // Title: // Version: 0.1 // Desc: // Keywords: // URL: // Help: #region UICode IntSliderControl Amount1 = 20; // [0,100] Cell Size IntSliderControl Amount2 = 1; // [0,100] Cell Spacing #endregion void Render(Surface dst, Surface src, Rectangle rect) { int cellSize = Amount1 + Amount2; PixelateEffect pixelateEffect = new PixelateEffect(); PropertyCollection pixelateProps = pixelateEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken pixelateParameters = new PropertyBasedEffectConfigToken(pixelateProps); pixelateParameters.SetPropertyValue(PixelateEffect.PropertyNames.CellSize, cellSize); pixelateEffect.SetRenderInfo(pixelateParameters, new RenderArgs(dst), new RenderArgs(src)); pixelateEffect.Render(new Rectangle[1] { rect }, 0, 1); ColorBgra CurrentPixel; for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = dst[x, y]; if (x % cellSize < Amount2 || y % cellSize < Amount2) CurrentPixel.A = 0; dst[x, y] = CurrentPixel; } } }
-
That would be an extremely easy plugin to write (a few lines of code in CodeLab). Call the Pixelate effect and draw a grid. That's it. Further more, the templates in CodeLab would probably do 75% of the work for you.
@Eli, if you ever wanted to learn to write effects, this would be the time.
-
Do you want to remove or extract the logo? Or in other words, do you want to keep the logo or the picture?
-
14 minutes ago, Morais said:
Somebody please send me the Color Flip/Replace Plugin. After I installed Paint.NET new version it was deleted. Not just him but many of them too. This one, single hue, color tint are one of the most important I have lost.
Those plugins are from Ed Harvey; just download them again. They work fine with paint.net v4.
Let's Encrypt!
in Paint.NET Discussion and Questions
Posted
Could get owned. Murphy's Law is not really a natural law.
It's not just the dotpdn.com domain. When paint.net (the program) checks for updates, it's communicating with the getpaint.net domain. If there is an update, it will then download it from dotpdn.com.
At least for forum has encryption now (as of a few days ago).