aguba Posted June 20, 2007 Share Posted June 20, 2007 Would it be possible to create a plugin that can expand or contract a selection? aguba.deviantart Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted June 20, 2007 Share Posted June 20, 2007 1) Firstly, there's an old discussion about this here: http://paintdotnet.12.forumer.com/viewtopic.php?t=3178 2) Plugins cannot affect selection boundaries. I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 ...darn. Well, I guess I can find some kind of work around. Thanks anyway. aguba.deviantart Link to comment Share on other sites More sharing options...
Ash Posted June 20, 2007 Share Posted June 20, 2007 Did I misunderstand? MIght be doable. http://paintdotnet.12.forumer.com/viewt ... 0623#20623 All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted June 20, 2007 Share Posted June 20, 2007 Did I misunderstand? I don't know if you misunderstood. All I know is I didn't understand. I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
Ash Posted June 20, 2007 Share Posted June 20, 2007 So thats why nobody has made a plugin that can affect selection yet LOL All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
moc426 Posted June 20, 2007 Share Posted June 20, 2007 No you can't resize a selection. http://paintdotnet.12.forumer.com/viewtopic.php?t=4814 So thats why nobody has made a plugin that can affect selection yet LOL Link to comment Share on other sites More sharing options...
BoltBait Posted June 20, 2007 Share Posted June 20, 2007 There is a fairly easy way to increase a selection by a desired number of pixels. Once you have your selection just do the following: 1) Create a new layer and select it 2) Press the backspace key to fill your selection with your primary color 3) Press ESC to deselect 4) Gaussian Blur by your desired expansion level 5) Set your tolerance to 0, then Shift-Click a totally transparent pixel using the magic wand 6) Press Ctrl-I to invert your selection 7) Delete your temporary layer You are now back to your original layer and your selection has expanded by the number of pixels you specified to Gaussian Blur. Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 Thanks. That'll work. aguba.deviantart Link to comment Share on other sites More sharing options...
BoltBait Posted June 20, 2007 Share Posted June 20, 2007 There is a fairly easy way to decrease a selection by a desired number of pixels. Once you have your selection just do the following: 1) Create a new layer and select it 2) Press Ctrl-I to invert your selection 3) Press the backspace key to fill your selection with your primary color 3) Press ESC to deselect 4) Gaussian Blur by your desired expansion level 5) Set your tolerance to 0, then Shift-Click a totally transparent pixel using the magic wand 7) Delete your temporary layer You are now back to your original layer and your selection has contracted by the number of pixels you specified to Gaussian Blur. (No, this is not a double post. ) Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 Your directions are a little off, but I think I understand the gist of what you're saying. aguba.deviantart Link to comment Share on other sites More sharing options...
penguin Posted June 20, 2007 Share Posted June 20, 2007 he's basically saying take a big square, and make it bigger or smaller. then select it, and delete it, but keep the selection. you oculd just use the little pixel counter/coordinate thingy in the corner Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 No, I'm saying select an object and adjust the size of the selection, not the object. I know you can do this manually, but It doesn't work so well with more complex images. aguba.deviantart Link to comment Share on other sites More sharing options...
barkbark00 Posted June 20, 2007 Share Posted June 20, 2007 Yeah, in PdN, BoltBait's blur method is the best way to expand a selection. To contract, try messing with Median Blur with a relatively low radius and the percetile set to either 0 or 100(depending on if you filled you original selection with white or black), then continue with BB's other steps... Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 I don't wan't to expand a selected object, just the selecty thing with the moving broken lines. aguba.deviantart Link to comment Share on other sites More sharing options...
pyrochild Posted June 20, 2007 Share Posted June 20, 2007 That's exactly what BoltBait's method does. ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 BB's method confuses me. aguba.deviantart Link to comment Share on other sites More sharing options...
barkbark00 Posted June 20, 2007 Share Posted June 20, 2007 I don't wan't to expand a selected object, just the selecty thing with the moving broken lines. We all realize that! What we are telling you is, what we in the software world like to call, a "workaround"... Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
BoltBait Posted June 20, 2007 Share Posted June 20, 2007 BB's method confuses me. If you follow the steps carefully once or twice, you'll be to the point where it is automatic. I know it shows 7 steps, but it takes less than 10 seconds to do the whole thing. Maybe I could add screen shots. Would that help? Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
aguba Posted June 20, 2007 Author Share Posted June 20, 2007 Yes, please aguba.deviantart Link to comment Share on other sites More sharing options...
XLT Posted June 21, 2007 Share Posted June 21, 2007 I hope I'm not too off here, but how could I expand this emoticon? Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted June 21, 2007 Share Posted June 21, 2007 @XLT: Resize using Nearest Neighbor resampling. For best results, resize by percent in increments of 100. I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
EvilNeko Posted June 21, 2007 Share Posted June 21, 2007 I always take the Magic Wand or whatever, and press Control+selection tool(your choice). Both will get selected.. ~EnM Link to comment Share on other sites More sharing options...
Tim Rayner Posted May 4, 2020 Share Posted May 4, 2020 So here's a question: Is paint.net still being developed? Is it being developed by the original developer or by the community? Bearing in mind this is a feature that has been available to me in all or most of the decent graphics packages available to me in recent years why does Paint.net not have it? You shouldn't have to use a workaround to do something so basic. Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 5, 2020 Share Posted May 5, 2020 6 hours ago, Tim Rayner said: Is paint.net still being developed? Yes. 6 hours ago, Tim Rayner said: Is it being developed by the original developer or by the community? The original developer. 6 hours ago, Tim Rayner said: why does Paint.net not have it? There are higher priorities. Simple as that. Now, because this thread is 13 years old I'm locking it as per our Forum Rules. I think this might be a record for the oldest necropost. 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...
Recommended Posts