Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 04/08/2024 in all areas

  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. Anyone for a sweet treat? Help yourself! Enjoy..... 😊
    5 points
  3. Hello there, After a long break, I decided to play around with ShapeMaker again and created 10 shapes related to space travel. Inside you will find: Apollo Command- & Service Module Apollo Lunar Module during flight Apollo Lunar Module landed Saturn V Rocket Soyuz Rocket (USSR/RUS) Space Shuttle with Tank and Boosters Space Shuttle (single, top view) Space Shuttle (frontal view) Gemini Spacecraft Wostok 1 (USSR) Preview Image on ImgBB: https://ibb.co/0ZVhjcN IronShapes.zip
    5 points
  4. @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
  5. 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
  6. 4 points
  7. 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
  8. Hi everyone! I've been doing some 'spring cleaning' on my hard drive, knowing I have hundreds of shape files 'just hanging around'. I've re-categorized them for release. I also made some new ones! In all, there are 358 additional shapes and a zip file within the zip file of my 'colored irises'. Please see my first post for the clickable thumbnail views of the new shapes and the download link for the new shapes named 'Addendum #1 Shapes'. I hope you enjoy these additions. Keep on PDN'ing!! 🤗 🥰
    3 points
  9. It will be possible to work with the color profile in the upcoming 5.1 release. A significant portion of the "back end" rendering engine has been upgraded and rewritten to accommodate this and to get ready for future upgrades (e.g. high bit-depth support, and maybe even HDR support). ("c2" seems to be a size-optimized sRGB-ish profile that I've seen many images using ...)
    3 points
  10. [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
  11. (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
  12. This was changed in Paint.NET v5.0.4 to make the image more accurate at different zoom levels.
    2 points
  13. Getting there.. However, the color-palette is not yet the right one. I wanted olny share my progress 😉
    2 points
  14. May Update A single new plugin this month. Its an image steganography tool by new author Koimtzis. Welcome aboard! Image Steganography Tool Koimtzis Encrypts an image inside another image in a secure way and with a small reduction in quality. Extraction of the hidden image requires use of a password.
    2 points
  15. Hi @CybrRyno - welcome to the forum Plugins required: Bevel Selection & Outline Steps: Isolate the large symbol on its own otherwise transparent layer. How? Use the Magic Wand + Ctrl key and click on both parts. Press Ctrl + X to copy & delete from the first layer. Press Ctrl + Shift + V to paste the symbol into a new layer. The smaller letters have a suble bevel. You can see this as a lightening of the north and west edges. Select the symbol again. Apply Selection > Bevel Selection with Depth 5 & Strength 2.0. Light Color: 165,50,50. Dark color: 99,32,45. The next thing to add is the outline. It's color is something like 65,0,0. Deselect the symbol and run Outline Object with the color mentioned and radius =3. Final thing is a drop shadow. Effects > Object > Drop Shadow. Radius 11, Distance 7, Opacity 0.9, color Black.
    2 points
  16. Release version 1.1.32, which updates AOM to version 3.9.0.
    2 points
  17. 2 points
  18. A new build of my plugin pack has been made which includes this fix. Go get the update here: https://forums.getpaint.net/BoltBaitPluginPack
    2 points
  19. 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
  20. 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
  21. This will happen if you manually change the file extension in the Save dialog, without actually choosing the format from the dropdown.
    2 points
  22. 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
  23. Made a couple of shapes today. Working great! 😊
    2 points
  24. v2.1 When installed, it shows up in the Effects > Text Formations > Text Fun Factory menu. This is now included in my plugin pack, you can download it there. Installer included. Go There Donate Note: This effect is GPU accelerated, over 1,770 lines of code, and requires Paint.NET v5.0.12+. The least you can do is give this post an "up vote". Here are some samples of what this plugin can produce in a matter of seconds: and the size. Works with the fonts already on your system. You control the overlap amount. Select a fill style: There are 49 built-in seamless textures you can use to fill your lettering, for example: or Using the clipboard, you can use any image you want. These images can be scaled (zoomed), rotated to any angle, and color corrected. Solid fills can take colors from your current or the default palette for each letter: Next, select your outline style, color, and size, including: or a colorful You can choose many shadow options, including color and direction: or All of the samples above show a fully customizable 3D style. If you don't like that, you can also go with: And, now for the FUN! or or Also, you can mix them all together! One last thing: You can swap the layering overlap direction so that later letters are on top of instead of behind the previous letter: What will you create with it? Fills: Outline: Shadow: 3D: Fun: History: v1.0 - Oct. 29 2023 - Downloaded 600 times
    1 point
  25. Grazie mille! This worked like a charm.
    1 point
  26. This was the same installer I used where I got this error, unfortunately. I have tried the other installers, but was still met with the same error. Thank you, though!
    1 point
  27. The diagnostics info that @Tactilis requested will tell us where this file is, and that usually gives more information about what it is. But, this is definitely not a Paint.NET bug -- HookTool64.dll is definitely the culprit.
    1 point
  28. Or maybe "Editing Window", which is the terminology used in the Docs: https://www.getpaint.net/doc/latest/MainWindow.html#7
    1 point
  29. What I do when I want accurate cropping of a scanned photo that might be misaligned by a few pixels is to quickly check each of the 4 corners and adjust the selection as necessary. Here's the sequence I follow: 1. Press M M to activate the Move Selection tool 2. Press Ctrl+A to Select All 3. Press Ctrl+B to Zoom to Window 4. Move the mouse pointer to the top left corner of the photo. 5. Ctrl+Mouse Wheel or hold down Ctrl++ to quickly Zoom In on the corner. 6. Position the mouse pointer over the selection edge (the pointer changes to a hand) and adjust the selection by a couple of pixels to exclude the misalignment. 7. Press Ctrl+B to Zoom to Window Repeat steps 4-7 for the top right / bottom left / bottom right corners, then press Ctrl+Shift+X to Crop to Selection Note that at step 6, it is not necessary to grab the circular selection 'nub'; you can adjust the selection by grabbing anywhere along its edge. The above may seem like a lot of steps but it's actually really fast once you get into the swing of it.
    1 point
  30. 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?
    1 point
  31. You can use Environment.GetSourceBitmapBgra32(), which will give you an IEffectInputBitmap<ColorBgra32>. Then call Lock() to get the IBitmapLock<ColorBgra32>(). Then use AsRegionPtr() to get it as a RegionPtr<ColorBgra32> which you can just index into, e.g. region[x, y]. Then just compare region[x, y].A == 255 to determine if it's opaque. Note that this works fine for querying the alpha channel, as the alpha channel is invariant with respect to color space (sRGB vs. linear scRGB vs. whatever other color profile they might have on the image!). If you want to query the RGB values, they won't line up with the color space you're using in the GPU effect, and it'll take some extra work to determine the right thing to do. So that's a topic for another time.
    1 point
  32. 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
    1 point
  33. Effects written with codelab can call built-in effects such as Gaussian blur, however I think what you want is something like Scriptlab, unfortunately that is obsolete.🙁
    1 point
  34. Not on one layer. Here is an example using a couple of Plugins. 1. draw the line in its own layer. 2. Select the bottom of the line 3. Make a new layer and fill the blue. 4. Go back to the line and select, make a new layer and fill with 2nd color. 5 Uncheck the line layer. 6. On both colors use the Plugin Blur Blend set at about 27. 7. Use AA's Assistant on both layers until you see a sharper edge on both. 8.Then go to "outline' and change the color accordingly on both layers until it fills up.
    1 point
  35. Done. Release version 1.3.6, which updates LibRaw to the 202403 snapshot.
    1 point
  36. I don't think so. 1. @ghope said they had antialiasing turned on 2. The high tolerance when they do: "Fill below curve using color B (bottom color), tolerance 84%" will be selecting the antialias transition pixels and will fill them all with solid colour; hence the jagged appearance. @Pixey has the best solution - but make sure you don't set the tolerance too high when you fill the second half.
    1 point
  37. Yep - it's working fine for me - so far 😂
    1 point
  38. 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
  39. I kicked the tires a little, seems to work great
    1 point
  40. 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
  41. 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
  42. Hope that helps... I've found it better to use 'using' statements to ensure graphics objects get disposed of.
    1 point
  43. 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
  44. ☝️ is left as an exercise for the coder 😉
    1 point
  45. 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
  46. @BoltBait This is a really fun plugin. I didn't expect so many options.
    1 point
  47. CodeLab v6.10 Released This is only for Paint.NET 5.0.11+! Big update today... Changes: ▪ Ability to configure color context to use WorkingSpace @Rick Brewster ▪ Only one menu entry now (configure Render Options on the configuration screen) @toe_head2001 ▪ Improvements to autocomplete @toe_head2001 ▪ New UI element Layer Chooser @BoltBait ▪ Templates now have links to tutorials @BoltBait ▪ Default effect type is now GPU Image effect @BoltBait ▪ Lots of bug fixes and small enhancements @toe_head2001 / @BoltBait / @Rick Brewster ALL NEW TUTORIALS: https://boltbait.com/pdn/CodeLab/help/tutorial/ @BoltBait Grab the CodeLab DLL here: https://www.boltbait.com/pdn/CodeLab/ Screenshots: Only one menu entry: New settings page to control how CodeLab is run: Notice that in the next screenshot, the Render Options are shown in parenthesis. New Layer Chooser UI Control:
    1 point
×
×
  • Create New...