Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/27/2024 in Posts

  1. I've just added the allow-popups-to-escape-sandbox attribute onto the iframe's sandbox. In essence, any linked page would inherit the sandbox restrictions of the iframe. Not anymore. This should fix issues where people were not able to reply to linked topics, or even download attachments.
    6 points
  2. @Silverdenn probably came to this topic via the Plugin Index. The Plugin Index, until a few minutes ago, would cause these kind of issues on pages it linked to.
    4 points
  3. 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!
    4 points
  4. 4 points
  5. I have converted ShapeMaker to a GpuDrawingEffect. It should work the same as before. There are still a few tweaks I want to make to the plugin, but in the meantime, if anyone wants to test the changes thus far... ShapeMaker-Test.zip
    4 points
  6. [SOLVED] Hello, after receiving guidance from this forum, I took the following step to troubleshoot the problem: Removed TrustView from Startup > I removed the TrustView application from the Windows 11 Startup list via Settings > Apps > Startup, and then rebooted my laptop. I'm pleased to report that after performing this step, the issue with paint.net seems to be completely resolved! I can now use the selection tools without any crashes. If anyone else encounters a similar issue with paint.net, I recommend checking your system's startup applications and removing any potentially conflicting software. I want to extend my sincere thanks to @Tactilis and @Rick Brewster who offered kind suggestions and support during this troubleshooting process. Thank you once again for your help and expertise!
    3 points
  7. (The term you're looking for is "canvas") This isn't currently possible but is something I'm considering for the upcoming 5.1 release. Maybe not the color but at least the brightness.
    3 points
  8. This plugin encrypts an image inside another image in a secure way and with a small reduction in quality thanks to a powerful dithering method, the only way to extract the image is with a use of a password. Download ImageSteganographyTool.zip Installation The archive contains the plugin file, it can be installed by running the .bat file or manually dropping the .dll file into the PaintNet\Effects\ folder Instructions How to Encrypt. Open the image you want to cover. Open the image steganography tool(it is located in the Effects drop down menu) Choose a key, by adjusting the 3 key sliders (this is like a password, without this you want be able to decrypt the image later) Select "Encrypt image". Click on the folder icon to select an image to cover the original image. Select quality, this will affect the quality of both images.(the default quality 4-bit & 4-bit is the most balanced option offering great quality for both images) Click OK and you are done! When saving the image it is important to use a lossless format like PNG PDN BMP etc. How to Decrypt. Open the image you want to decrypt, in order to reveal the original image. Open the image steganography tool(it is located in the Effects drop down menu) Insert the CORRECT key, by adjusting the 3 key sliders. Select "Decrypt image". Select quality option.(you must choose the same quality option that was used when the image was Encrypted) Click OK and you are done! Examples Using the "Original image 6-bit - Cuver image 2-bit" quality option. Using the "Original image 4-bit - Cuver image 4-bit" quality option.
    2 points
  9. Could you start paint.net (don't use the selection tools) and go to Settings -> Diagnostics -> Copy to clipboard and paste the text here. Also click Open crash log folder and see whether there are any pdncrash.n.log files. These are text files and the content can be emailed to the address shown on the first line of the file. Your wording suggests that paint.net used to work correctly on your system. Do you have any idea what changed just prior to the problem starting? You may have malware on your PC. See Trojan.KeyLogger.43099 https://vms.drweb.com/virus/?i=23537722 I'd suggest doing a full scan using Defender (part of Windows) and/or installing a scanner such as Malwarebytes and seeing what that reports.
    2 points
  10. This will happen if you manually change the file extension in the Save dialog, without actually choosing the format from the dropdown.
    2 points
  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?
    2 points
  12. Here's how on one layer. 1. draw the line at #10. 2. Select the bottom and fill. Duplicate and merge a few times. 3. AA's Assistant. 4. Select the top and fill.
    2 points
  13. Made a couple of shapes today. Working great! 😊
    2 points
  14. @Pixey, @Tactilis, @BDP, Thanks, I think Cobweb is the closest. @Red ochre In fact, the effect is a combination between Cobweb and StringAndPin. I tried Gossamer but I think it's an advanced level plugin, I'm not sure how it works. Thanks for these tools. They are awesome.
    2 points
  15. April Update One new plugin this month: Warp text along a path xod Writes text along a user-specified path. The plugin uses the SkiaSharp library, so you need to put all three files from the ZIP file into the Effects folder. *please note* this plugin is currently undergoing revision/rerwrite to make it conform to standards. There is also the inclusion of an older plugin - which had been missed (thanks @toe_head2001) Alpha Mask (aka Apply Alpha Mask) from @BoltBait's Plugin Pack.
    2 points
  16. Hello @MmmmMMMmMM The built-in line curve only has 4 control points, however the Shapemaker plugin here allows curves to be chained together and many other options too. It can be a steep learning curve but is well documented. My BeznCurve plugin is a simpler alternative with 6 control points. here
    2 points
  17. I pushed a faster version of Lavander Binary Map. Old one with using 11 (2048x2048) : 0.667 s New one with using 11 (2048x2048) : 0.057 s ~12x faster! It’s using lookup table now. That’s all the practical changes.
    2 points
  18. Your requested feature, I am sure, will never be added to paint.net: 1. The feature is very niche, whereas capabilities are added to paint.net on the basis that they will be useful to a wide range of people. 2. paint.net has no batch processing capabilities, so there would be considerable development to provide this. You are better off looking at IrfanView's Batch capabilities, assuming it can load the image format you use for sprites:
    2 points
  19. https://imgur.com/HADJeil
    2 points
  20. Long time no post here. First major re-engineering to one of my filter has been done. OOBS used to be there before, but now it has been rewritten. As it'll be for G'MIC 3.3.6, and we don't have that now, you can temporarily use it here as a debugging test - https://gist.github.com/Reptorian1125/fe5a16df550b258376c893cd0c8b039c And you can import .gmic sources via G'MIC plugin, so you can use it now before 3.3.6. Example result:
    2 points
  21. Yep - it's working fine for me - so far 😂
    1 point
  22. 1 year later Im still hopeful and appreciate all of @Rick Brewster's hard work and consideration PDN is still my go to app.
    1 point
  23. I kicked the tires a little, seems to work great
    1 point
  24. I also had this problem on my new PC, which has an AMD Ryzen 7 7800X3D. I had installed AMD Adrenalin because that's what the AMD website said to do for chipset drivers and the iGPU, but I have an Nvidia dedicated GPU. I found this Reddit thread that hits on the solution: https://old.reddit.com/r/AMDHelp/comments/18i4ewn/do_i_need_adrenalin_for_7800x3d_with_nvidia_gpu/ TL;DR, you need the latest AMD chipset drivers, but you don't need Adrenalin for that and can get just the chipset and storage drivers this way: Visit AMD.com driver page: AMD Software: Adrenalin Edition | Graphics Technologies | AMD - https://www.amd.com/en/technologies/software Click “Download Now” Select “Chipsets” → Select “AMD Socket AM5” → Select motherboard model “X670E, X670, B650E, or B650” Click “Submit” Select either Windows® 11 or Windows® 10 OS version depending on your systems operating system Click “Download” Doing this got me actually newer chipset drivers than adrenalin had installed and once I removed Adrenalin, even before a restart, Ctrl+Shift+X worked again.
    1 point
  25. 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).
    1 point
  26. Hope that helps... I've found it better to use 'using' statements to ensure graphics objects get disposed of.
    1 point
  27. Here is a classic script to help you determine when you are on the edge of a selection... So, select your building outline and run the script. Hope this helps.
    1 point
  28. ☝️ is left as an exercise for the coder 😉
    1 point
  29. One observation regarding the algorithm... Comparing your results with those from the one-page dungeon generator (OPDG), it appears that you are creating each box with a random width and height. I think the OPDG uses a fixed set of box sizes and the algorithm is along the lines of: Walk around the border and: 1. Randomly choose a box size from the set 2. Randomly choose the amount of overlap for this box (within certain constraints) with the box previously placed.
    1 point
  30. Thank you. I love this plug in set. I use it frequently. Recently cleaned up my drive and Windows deleted my getpaint plugins so it was a breeze to relocate the files here and reinstall. Thanks again for the wonderful pack !
    1 point
  31. Use coloured cotton?😉
    1 point
  32. You could draw a circle and fill it with diagonal lines, then use @Red ochre's Cobweb Plugin:
    1 point
  33. You could use @Red ochre's StringAndPin plugin to build up the image layer by layer - but it would be tediously slow to do.
    1 point
  34. There is a feature in G'MIC > Artistic > Stringify that does something similar, but you would have to play with it, I reckon Brian
    1 point
  35. 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.
    1 point
  36. Doesn't seem like it 👇
    1 point
  37. That is not a DDS file, it seems to be encrypted or some other format entirely.
    1 point
  38. At last I used the Magic Wand-tool on the flower wreath. And succeeded. /hans peter
    1 point
  39. This tutorial is available as a PDF. Click here to view or download it Hi, fellow PDN users! I've had two requests to make a tutorial on this subject after I posted some pics in my art gallery. This is for TR (TechnoRobbo) and Max (Maximilian) and everyone interested in an opalescent stained glass effect. And a special 'shout-out' to Seerose because I'm using a Water Lily or Lotus flower for this tut. I've attached the shape below. Plugins required: Align Object pyrochild's Gradient Bars gaussian-blur-clamped-v20-by toe_head2001 AA's Assistant BoltBait's Bevel Selection Metallize MJW's-edge-expander Optional: pyrochild's Outline Object Water Lily Shape.zip This file goes into your 'Shapes' folder under Program Files, paint.net Here's the end result we are striving for: Create your outline using color 255,195,0 at about 6px wide. Align object. Duplicate layer, making the bottom layer black (turn lightness down to -100 via Hue/Sat). Turn off top gold layer and work with the black layer. Select the colors you are going to work with (I’m starting with the petals…I used P-255,73,119 S-255,255,255). 1. Magic Wand, tolerance 69-70%, select one of the petals 2. Create a new layer directly above 3. Effects—Render—Gradient Bars (play with all the settings until you get something you like) 4. Effects—Blurs—Gaussian Blur (clamped) at a radius of your choice 5. AA’s Assistant at default Repeat these 5 steps on all flower petals. You should have 15 layers. Do the lily pad next, repeating the above 5 steps with green shades of your choosing…I used P-47,168,37 S-167,229,165 Do the water next, repeating the above 5 steps with blue shades of your choosing…I used P-0,140,220 S-94,244,255 for the lighter blue areas and P-3,19,115 S-56,243,255 for the darker blue areas. Now for the ‘leading’. Turn off the bottom black layer and go to the gold layer at top. Do (1) AA’s Assistant. Magic Wand, global at 50%, then Invert Selection. Adjustments—Black and White Effects—Selection—Bevel Selection at 3, Strength .70, Highlight Color – 127,127,127 Shadow Color – 0,0,0 Color—Metallize, Angle of Start – 160, Type 1, Gray Scale checked. Do (1) AA’s Assistant and turn lightness down to -30 via Hue/Sat Merge all 'glass' layers down to one underneath the finished 'leading' layer. Select the 'glass' layer. Effects--Object--Edge Expander (I used a Maximum Distance of 3, and everything else at default) The Edge Expander works beautifully and saves a ton of steps! ((You can still 'Outline Object' every individual 'glass' layer, if you choose (in lieu of Edge Expander), so I left pyro's plugin in the tut as optional.)) Merge all layers down and you are done! This gives the result above with a silvery lead solder. ***If you want gold ‘leading’, Metallize at about 316, Type 2, uncheck Gray Scale. You can now delete bottom black outline layer. ***If you want a dark patina finish, follow the gold frame instructions, then duplicate the layer. On bottom outline layer apply a Lightness adjustment of (-50) via Hue/Sat. On top outline layer, apply a Lightness adjustment of (-30) via Hue/Sat and set layer blend mode to Multiply. Examples of gold and dark patina finish can be found here: http://forums.getpaint.net/index.php?/topic/45133-lynxster4s-art-gallery-updated-3416-new-pics/?p=513127 Keep in mind that this is only one type of ‘stained glass’. There are many other types which I am exploring. You can't really do this 'wrong'. Opalescent glass has so many color variations to it...this is just how I choose to do it, trying to keep it as simple as possible. I hope you enjoy this tutorial and have fun making ‘stained glass’!! I'm looking forward to seeing your results! *Revised the tutorial to include MJW's Edge Expander plugin to solve the 'gap' problem in fewer steps. **Revised 3/12/16 to include MJW's steps to keep layers down to the minimum. I have added this as an alternate method to construct any stained glass picture. I tried it and it works very nicely! All colors are on one layer. I did this in 20 minutes: Thanks so much MJW! This is much appreciated and should cut down significantly on PDN crashes. There's always a better way to do things. I hope you don't mind that I attached this to the tutorial.
    1 point
  40. Found in Effects > Text Formations NOTE: Please see here for the Optional Based Library download required to run the Circular Text Plugin: IMPORTANT: The newer version of this Plugin requires that Optional Based Libraries be in the Effects Folder - not the app folder (Program Files\Paint.net) The UI: Standard tab Options tab Download
    1 point
  41. I just installed Win11 and came across your FANTASTIC program and its so much better then the plain Windows paint program. I cant afford PS and Gimp is a bit hard and i have only been using yours for a few days but i really like it except for one thing the others have said, i wish the tool bar icons were much larger! Windows scaling does not work in the program, my eyes arent what they once were so im litterally removing my glasses and putting my head less than a foot away from the screen to see all the icons. I know so many others would agreeing in saying PLEASE MAKE THE ICONS BIGGER! i want to make a donation but not sure if im able to continue using this program just because its so hard to read. Thank you for your time and consideration! Kevin in South Dakota
    1 point
  42. That's a good approach but you could save a step by doing the drawing on the transparent background layer. Starting with a new image: 1. Ctrl+A to Select All 2. Delete to Erase Selection; this gives you a transparent background layer 3. Draw your circle 4. Save as PNG
    1 point
  43. Never used this plugin before - downloaded it, installed it into Effects, no plugin errors, and - hey, it works! Brian
    1 point
  44. You can modify the selection with the Move Selection tool. https://www.getpaint.net/doc/latest/MoveTools.html#5
    1 point
  45. Based on the text in that image, it looks like those files may be some kind of 3D rendering configuration for the model. But I don't know for sure.
    1 point
  46. Hello @fov, I used the Diagonals line plugin to draw black lines. Nice image effect.
    1 point
×
×
  • Create New...