Francisco Posted October 17, 2017 Share Posted October 17, 2017 This is seriously screwing with me, and is the only reason I stay with standard paint for the time being. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 17, 2017 Share Posted October 17, 2017 You'll find these settings in the tool bar when the paint bucket is active. In order, try ... 1. using a zero tolerance - this will fill only exact pixel matches. 2. Turn off antialiasing 3. Set the Sampling mode to Layer 4. Set tool blend mode to Normal 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...
Francisco Posted October 17, 2017 Author Share Posted October 17, 2017 I found a solution that happened to work- using the magic wand beforehand with 0% tolerance. Quote Link to comment Share on other sites More sharing options...
MJW Posted October 17, 2017 Share Posted October 17, 2017 There is an oddness to the way the Paint Bucket fill works with antialiasing enabled. If you fill an area that has an all-black outline, the color of the outline pixels is slightly modified by the fill color so it's no longer black. I don't know for sure that it's a bug. Perhaps it's a more or less necessary consequence of the antialiased fill. In any event, it would be better if it didn't do that. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 17, 2017 Share Posted October 17, 2017 Set tolerance to zero and disable antialiasing. MJW, what you're seeing is feathering, which is controlled by the antialiasing setting. Tolerance determines which pixels are included in the region that either tool operates on directly (PB and MW use the exact same flood fill algorithm and code), and then the PB tool applies feathering for every pixel adjacent to that region. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
MJW Posted October 17, 2017 Share Posted October 17, 2017 Thanks for the explanation, Rick. I've never thought about doing antialiased fills. Seems like a tricky problem. Someday I'll have to look at the disassembled PDN flood-fill code. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 17, 2017 Share Posted October 17, 2017 It was extremely tricky. It's not exactly something you can find an answer for on Stack Overflow Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 17, 2017 Share Posted October 17, 2017 1 hour ago, MJW said: Someday I'll have to look at the disassembled PDN flood-fill code. You'll want the comments though. https://pastebin.com/t0yYvXsM 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
MJW Posted October 17, 2017 Share Posted October 17, 2017 Thank you very much, Rick! Quote 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.