Jump to content

Ego Eram Reputo

Administrator
  • Posts

    14,578
  • Joined

  • Last visited

  • Days Won

    264

Ego Eram Reputo last won the day on April 13

Ego Eram Reputo had the most liked content!

About Ego Eram Reputo

  • Birthday 11/03/1965

Profile Information

  • Gender
    Male
  • Location
    North Canterbury, New Zealand
  • Interests
    Web design & graphic design. Chess, modelling, gaming & trail running. Fiddling with C#.

Recent Profile Visitors

65,797 profile views

Ego Eram Reputo's Achievements

  1. For this to work, I think Multiply is the wrong choice. Try Difference REF: https://www.getpaint.net/doc/latest/BlendModes.html#18 With Difference, I got some mountain shadowing to show through at the cost of a darkening of the source image.
  2. Hi Sergio, I'd start with the image size. What will the image dimensions be? Are you making a one-to-one replacement for the panel shown in the image, or do you have a different size in mind? Is the image going to be viewed on a screen or printed out. Both?
  3. Did you try the Revo Uninstaller? It is usually quite successful at removing broken installations.
  4. Not unless the new version of PDN requires it. Plugin breaking changes do occur, but rarely.
  5. You can't do it for all layers in one go. You need to do one layer, then repeat for the other layers. Like this: Use the Paneling plugin to move the contents of the first layer Activate the next layer Press F8 to repeat step 1 on the active layer. goto step 2 for as many layers as you need to move.
  6. Also check out the status bar when the Clone Stamp is active
  7. A couple of leads you might find valuable..... https://forums.getpaint.net/topic/21134-how-can-i-create-a-shape-and-recolor-it/?tab=comments#comment-348884 https://forums.getpaint.net/topic/112561-change-color/?do=findComment&comment=543800
  8. Some progress....... // Name: Box Outlining GPU // Submenu: test // Author: // Title: // Version: // Desc: // Keywords: // URL: // Help: // For help writing a GPU Drawing plugin: https://boltbait.com/pdn/CodeLab/help/tutorial/drawing/ #region UICode IntSliderControl Amount2 = 35; // [15,100] Size IntSliderControl Amount3 = 9; // [2,25] Spacing #endregion protected override unsafe void OnDraw(IDeviceContext deviceContext) { deviceContext.DrawImage(Environment.SourceImage); // preserve background // find out where our selection is located RectInt32 selection = Environment.Selection.RenderBounds; // variables int boxSize = Amount2/2; int Spacing = Amount3+1; int doubleSpacing = Amount3*2; int thickness = 2; int rndHeight, rndWidth; int step = boxSize*7/10; // define your brush and stroke style ISolidColorBrush fillBrush = deviceContext.CreateSolidColorBrush(LinearColors.LightGray); ISolidColorBrush outlineBrush = deviceContext.CreateSolidColorBrush(LinearColors.Black); IStrokeStyle boxStrokeStyle = deviceContext.Factory.CreateStrokeStyle(StrokeStyleProperties.Default); // setup drawing mode deviceContext.AntialiasMode = AntialiasMode.Aliased; // or .PerPrimitive Random rnd = new Random(); for (int y = selection.Top; y < selection.Bottom; y += step) { for (int x = selection.Left; x < selection.Right; x += step) { //if source pixel is opaque ) rndWidth = rnd.Next(Spacing, doubleSpacing); rndHeight = rnd.Next(Spacing, doubleSpacing); deviceContext.FillRectangle(x-rndWidth, y-rndHeight, boxSize, boxSize, fillBrush); deviceContext.DrawRectangle(x-rndWidth, y-rndHeight, boxSize, boxSize, outlineBrush, thickness, boxStrokeStyle); } } } I haven't figured out how to poll the source pixel yet, so I'm just filling selections at the moment. Still, I think looks great!
  9. Seen the latest API documentation? https://paintdotnet.github.io/apidocs/api/index.html There are a great many effects you can access and chain together. For example, see https://paintdotnet.github.io/apidocs/api/PaintDotNet.Effects.Gpu.html
  10. Hadn't considered that. I'll have a look and see if I can make six or seven boxes work. Nice! Thank you @BoltBait Thanks Red. Quite right. I will change of course. The posted code was something from a year or so ago (I just had another play with it to remember where I got to).
  11. I could use a little help on this one I'm trying to recreate an outlining effect I saw on Watabou's one-page dungeon generator. I want to surround an object with little gray boxes something like this image. I had a very rough stab at it. Basically my plan was to step through the image and test the transparency of the target pixel. If it was transparent, throw a little box around it. The code I wrote trying to hack this out was truly awful. Results were ......promising!? (at least it was working right 😁) Does anyone want to help me write something a little more elegant?
  12. I disagree. I think this plugin is too good to lose. If you're willing to release the source code I'm sure someone will recompile and publish it.
  13. The easiest way to duplicate a Shape is this: Draw your Shape on a blank layer Duplicate the layer It's one extra click for each duplication.
  14. Thanks @Tactilis. I can't see Bayer as an option in AdvDith. Simulate Color Depth does have Bayer Ordered 8x8. Beware this plugin crashes if you attempt to use the Stucki dithering method.
×
×
  • Create New...