AtariSMN82 Posted April 17, 2022 Share Posted April 17, 2022 (edited) (Translated by google translate)i created a new plugin for palette dithering - QuantDith. Dithering - a method of image pseudo-toning using palettes with a small number of colors, that is, with the help of my plugin you can make color gradients like in games from retro consoles. The previous version was for monochrome black and white dithering, but now I've added support for color palettes in Paint Dot Net format (.txt files with a list of colors).>>> VIDEO DEMO <<< The plugin contains a lot of dithering algorithms taken from the manual DHALF.TXT with a color correction in the same window as the plugin. There are several built-in palettes such as color schemes from the Commodore 64 and 3-bit colors. You can also upload your own palette in the Paint Dot Net txt-palette format.Description of options: Color search mode - influences how dithering algorithms will select colors in the palette; Palette - contains built-in color schemes; Use a palette file - there are ready-made palettes in the archive with the plugin, you can also manually write your own file, where the colors will be in ABGR HEX format; Adaptive palette - allows you to automatically determine the colors contained in the picture and reduce them to the required amount; Brightness/contrast before/after - image colorizer before and after dithering; Dithering algorithm - affects the gradient pattern; Dithering parameter - affects the size of the gradient from the dithering pattern; Algorithm for finding dither errors - affects dithering algorithms such as Atkinson, Floyd, etc. 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. Be sure to update Peint Net to the latest version, otherwise it won't work. Once installed, you can find the effect in the menu Effects->Color. The archive also contains the C# source code for CodeLab, you can use my code in your projects.QuantDith v1.5 EN.zipTo support the author with money: Sberbank Visa/MCard: 5469 1300 1242 7256 YuMoney: yoomoney.ru/to/410017516566873 PayPal: paypal.me/AtariSMN81 BTC: 1HW5BhEJ1RnTUNahJEHhHsGcw7zpiGKLWz ETH: 0x0a875463c973e1cc33c9abe9f06e82e9e29ae5ba Questions about the plugin write in a personal message or to <email removed> Edited August 13, 2022 by AtariSMN82 add alpha channel 4 3 Quote Link to comment Share on other sites More sharing options...
Reparadox Posted July 6, 2022 Share Posted July 6, 2022 Hey! Love this! Question, can you make it support Alpha Channel/Transparency? Thanks! Quote Link to comment Share on other sites More sharing options...
AtariSMN82 Posted July 26, 2022 Author Share Posted July 26, 2022 (edited) On 7/6/2022 at 2:49 PM, Reparadox said: Hey! Love this! Question, can you make it support Alpha Channel/Transparency? Thanks! I add new option "use alpha channel". Download new version 1.4: https://forums.getpaint.net/applications/core/interface/file/attachment.php?id=21705&key=23556695f1dd8eaafcca07909d71840c Edited July 26, 2022 by AtariSMN82 add link 1 2 Quote Link to comment Share on other sites More sharing options...
Panchdara Posted July 28, 2022 Share Posted July 28, 2022 Silly question here... you titled the effect as "QuantDith" yet, but hook and by crook I see it is in fact called AdvDith.... why the inconsistency? Best Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted July 31, 2022 Share Posted July 31, 2022 @AtariSMN82 thank you for this plugin. I've been playing around with it, along with another plugin, and have achieved some really cool results. As @Panchdara posted above, could you please change the name of the file to 'QuantDith'? It's labeled as QuantDith but installs as AdvDith. So now we have (2) AdvDith's installed. I know to click on the second one listed, but not everyone is going to know this. If someone is looking under the 'Color' menu for 'QuantDith' they aren't going to find it. Thanks! Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
AtariSMN82 Posted August 13, 2022 Author Share Posted August 13, 2022 On 7/6/2022 at 2:49 PM, Reparadox said: Hey! Love this! Question, can you make it support Alpha Channel/Transparency? Thanks! It was called Advanced Dithering, but I think I forgot to change the name in the new version with color quantization ;] Quote Link to comment Share on other sites More sharing options...
AtariSMN82 Posted August 13, 2022 Author Share Posted August 13, 2022 On 7/31/2022 at 10:30 PM, lynxster4 said: @AtariSMN82 thank you for this plugin. I've been playing around with it, along with another plugin, and have achieved some really cool results. As @Panchdara posted above, could you please change the name of the file to 'QuantDith'? It's labeled as QuantDith but installs as AdvDith. So now we have (2) AdvDith's installed. I know to click on the second one listed, but not everyone is going to know this. If someone is looking under the 'Color' menu for 'QuantDith' they aren't going to find it. Thanks! i corrected the titleBut I don't know how to change the "color" menu. I made plugin in CodeLab and this menu is configured there Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted August 13, 2022 Share Posted August 13, 2022 You did fine @AtariSMN82. It's now named correctly under the 'Color' menu. 👍 1 Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
Panchdara Posted August 14, 2022 Share Posted August 14, 2022 17 hours ago, AtariSMN82 said: i corrected the titleBut I don't know how to change the "color" menu. I made plugin in CodeLab and this menu is configured there As Lynkster said "You did fine"... Thanks again! 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 17, 2022 Share Posted August 17, 2022 On 8/14/2022 at 1:26 AM, AtariSMN82 said: But I don't know how to change the "color" menu. I made plugin in CodeLab and this menu is configured there In your source code header, find the entry for Submenu. Install a string following the colon to specify a submenu. // Name: // Submenu: Vogon Poetry // Author: // Title: Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Kokonut Posted January 13 Share Posted January 13 (edited) Crashes when you load palette files from paint.net user palette files, but palette files included with the plugin work. With testing this seems to be from when a palette has a bunch of empty lines at the end, which palettes made from inside paint.net have, but the preincluded ones don't. I'm using 5.0. Otherwise this plugin is pretty cool! One feature request is when using a custom palette there should be sliders for which area of the palette to use (like Recolor Using Palette), especially since the extra color indices from palettes made in-program mess up the code for some algorithms like the ordered ones. Edited January 14 by Kokonut 1 Quote Link to comment Share on other sites More sharing options...
MR.JOKEBAMBI Posted August 24 Share Posted August 24 Hey so the Plugin isn't working now, it was before but now It ain't, I made a Custom palette and now the Use Paint.Net palette file option isn't working at all and Yes I'm 99? sure I have the newest version of Paint.Net. Please help. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 24 Share Posted August 24 11 minutes ago, MR.JOKEBAMBI said: I made a Custom palette and now the Use Paint.Net palette file option isn't working Does your palette file have empty lines at the end of it? Quote (June 9th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.