lovkal Posted April 13, 2017 Share Posted April 13, 2017 (edited) Hi. I'm working on a map file for a game which I'm trying to debug at the moment. The map file contains colors and each color represents a province in the game. However, whilst generating the provinces map, hundreds of little pesky, lone pixels remain everywhere, and the game tries to treat every one of those as a province. As of right now the only solution is to go by the coordinates given in the error log and remove them oneself. But like I said, there are hundreds of them, so such a minor thing takes forever. Is there a script for Paint.net that could mark a pixel automatically by typing in its coordinates and paint it over with an adjacent color? Thanks in advance. Edited April 13, 2017 by lovkal Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted April 13, 2017 Share Posted April 13, 2017 1 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
lovkal Posted April 13, 2017 Author Share Posted April 13, 2017 53 minutes ago, toe_head2001 said: Thanks, but this doesn't work, I still have to look all pixels up one by one and use the plugin, and the plugin removes it, it doesn't color them with the adjacent color. (I'll change the title) Thanks anyway. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted April 13, 2017 Share Posted April 13, 2017 1 hour ago, lovkal said: Is there a script for Paint.net that could mark a pixel automatically by typing in its coordinates and paint it over with an adjacent color? You want to manually type in hundreds of coordinates? Why not just automatically color the lone pixels with the nearest color? Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted April 13, 2017 Share Posted April 13, 2017 Could AnthonyScoffler's Pixel Set Replacer be what you need? Quote Link to comment Share on other sites More sharing options...
AndrewDavid Posted April 13, 2017 Share Posted April 13, 2017 (edited) I highly recommend Stray Pixel Remover (crashes new version of paint) and if that doesn't work try Kill Color Might just be just what you are looking for. Edited April 13, 2017 by AndrewDavid added Kill Color Quote Link to comment Share on other sites More sharing options...
lovkal Posted April 14, 2017 Author Share Posted April 14, 2017 3 hours ago, toe_head2001 said: You want to manually type in hundreds of coordinates? Why not just automatically color the lone pixels with the nearest color? I was just thinking that if the latter was not possible, then the first would be better than nothing. Quote Link to comment Share on other sites More sharing options...
lovkal Posted April 14, 2017 Author Share Posted April 14, 2017 I'll show the problem for simplicity's sake. The red pixel is the problem here, and the entire map looks different, of course. I want every 'red' pixel (they're not all red) filled with its adjacent color, in this case brown or dark blue. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted April 14, 2017 Share Posted April 14, 2017 @lovkal In the next day or so, I'll see if I can make a plugin that will automate it for you. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
lovkal Posted April 14, 2017 Author Share Posted April 14, 2017 Just now, toe_head2001 said: @lovkal In the next day or so, I'll see if I can make a plugin that will automate it for you. That would be awesome, thanks a lot man! Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted April 14, 2017 Share Posted April 14, 2017 Try BoltBaits Remove Dust https://forums.getpaint.net/index.php?/topic/25458-remove-dust-from-scanned-photos/ 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...
toe_head2001 Posted April 16, 2017 Share Posted April 16, 2017 @lovkal Here's a plugin for you. Let me know if it works well for you. Effects -> Color -> Lone Color Remover LoneColorRemover.zip 3 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
lovkal Posted April 21, 2017 Author Share Posted April 21, 2017 (edited) On 2017-04-16 at 6:53 AM, toe_head2001 said: @lovkal Here's a plugin for you. Let me know if it works well for you. Effects -> Color -> Lone Color Remover LoneColorRemover.zip Hi, thanks I'll try this! EDIT: It seems to work rather well, thanks a lot! Edited April 21, 2017 by lovkal 1 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.