entY8 Posted June 25, 2006 Share Posted June 25, 2006 I've got a short question: Is it possible to take away a certain number of pixel from the border of a selection (not streching the selection, but equally taking away a pixel from the border all around)? If, how? If not, when will it be? Apart from this function I missed when using this tool for some first little works I really think it's great! Carry on the good work :wink: edit: i found how that function is called in gimp: "select" menu -> "shrink" ("grow" is analogue) Quote Link to comment Share on other sites More sharing options...
aatwo Posted June 25, 2006 Share Posted June 25, 2006 Go to image/canvas size and then select the center square in the anchor optrions as highlighted below. This will tell paint.net to expand the canvas relative to the center of the image. This means that if you change add an extra 20 pixels to the width, it will expand the canvas by 10 pixels on either side of the image. So just choose new a new height and a new width so that you get the correct number of pixels taken away from the image, and click ok (If your image is not a square it will help to uncheck the maintain aspect ratio option so you can choose the right height and width). Quote Deviant Art Gallery Link to comment Share on other sites More sharing options...
entY8 Posted June 25, 2006 Author Share Posted June 25, 2006 Hm... this is not what I meant. Maybe I didn't explain good enough, I'll give it another try: I don't want to resize the picture or modify it in any way. I just have got a curved selection (e.g. made with the magic wand thingy) and I want to change the selected area (not the picture, just the selection mask), change it in this way, that it shrinks but keeps shape. If you've got Gimp you can see what i mean by making a curved selection there and using "shrink" from the "select" menu. You'll also have to specify there how many pixels the border of the selection should go back. This is just the tool I'm missing :wink: Quote Link to comment Share on other sites More sharing options...
Bob Posted June 25, 2006 Share Posted June 25, 2006 I see this in some photoshop tutorials too. It's not included in Paint.NET and i don't know if it will be someday. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
aatwo Posted June 25, 2006 Share Posted June 25, 2006 sorry I am still learning to read. Try this. ------------------------------------------------------------- Quote Deviant Art Gallery Link to comment Share on other sites More sharing options...
Bob Posted June 25, 2006 Share Posted June 25, 2006 Good work aatwo but try this (inspired by your method): *Select what you want. *Create a new layer *Invert Selection (Ctrl + I) *DESELECT (Ctrl + D) *Gaussian Blur of X pixels you want *Take care that tolerance is set to zero *Select the transparent part *Tadam. You can delete the layer you've selected. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 25, 2006 Share Posted June 25, 2006 Goodness, that is a very elaborate procedure! 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...
aatwo Posted June 25, 2006 Share Posted June 25, 2006 Bob sure showed me Quote Deviant Art Gallery Link to comment Share on other sites More sharing options...
dairyman Posted June 26, 2006 Share Posted June 26, 2006 I don't know if this is what you want, but can't you just click 'move selection', hold shift, and stretch the selection? Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 26, 2006 Share Posted June 26, 2006 I believe he is looking for a more precise and automatic function. 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...
entY8 Posted June 26, 2006 Author Share Posted June 26, 2006 Thanks to aatwo and Bob for your tutorials; next time I'll try it using that new layer + gaussian blur method. (the picture wasn't that big, so I managed to make my selection pixel by pixel all around the border of the object ) @dairyman: I tried that one first, but it didn't work out. I wanted to do the following: I was given an image of a blue letter 'S' with background and stuff. Now I wanted to hollow that 'S' out as to fill it with another color but leaving the border with the original color. And so this problem emerged... A soon as I get home (I'm at school right now :?) I'll post the image here. Of course an automated function would be much more comfortable Quote Link to comment Share on other sites More sharing options...
entY8 Posted June 26, 2006 Author Share Posted June 26, 2006 As promised, here is the problematic picture: Now how would you get a red 'S' inside this one with leaving an equally wide blue border remaining from the old 'S' "behind"? Quote Link to comment Share on other sites More sharing options...
Born2killx Posted July 7, 2006 Share Posted July 7, 2006 Go to image/canvas size and then select the center square in the anchor optrions as highlighted below. This will tell paint.net to expand the canvas relative to the center of the image. This means that if you change add an extra 20 pixels to the width, it will expand the canvas by 10 pixels on either side of the image. So just choose new a new height and a new width so that you get the correct number of pixels taken away from the image, and click ok (If your image is not a square it will help to uncheck the maintain aspect ratio option so you can choose the right height and width). Nice watermark... Quote I built my first computer at age 11! Link to comment Share on other sites More sharing options...
BuzzKill Posted July 9, 2006 Share Posted July 9, 2006 As promised, here is the problematic picture: Now how would you get a red 'S' inside this one with leaving an equally wide blue border remaining from the old 'S' "behind"? Two words: Shrink & Stretch Quote - DO NOT contact me asking for the .pdn of my avatar or the PDN logo. Thank you. Have a nice day. Link to comment Share on other sites More sharing options...
entY8 Posted July 9, 2006 Author Share Posted July 9, 2006 As promised, here is the problematic picture: Now how would you get a red 'S' inside this one with leaving an equally wide blue border remaining from the old 'S' "behind"? Two words: Shrink & Stretch No! It does not work that way! Try it out yourself! It's because of this 'S' shape. Quote Link to comment Share on other sites More sharing options...
aatwo Posted July 9, 2006 Share Posted July 9, 2006 with an image that small you may aswell has just used the paaintbrush.... But heres what my method produced. Quote Deviant Art Gallery Link to comment Share on other sites More sharing options...
entY8 Posted July 9, 2006 Author Share Posted July 9, 2006 with an image that small you may aswell has just used the paaintbrush....But heres what my method produced. Yes, i used the paintbrush since at that moment you had not posted you method yet.Your method works fine and all problems are solved, but that one guy insisted here again, it'd be possible just by streching. 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.