Jump to content

How to do a transparent border?


Recommended Posts

Hello and Welcome.  Perhaps this tutorial may be of help ....... just make the rectangle/square fit more closely over the image:  http://forums.getpaint.net/index.php?/topic/107031-glass-pane-newer-edition/

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

There's got to be an easy (automated) way to do this.

 

In CSS, that's called an 'inset box shadow'. I don't think sure such a function exists in .NET.

 

I'll see if I can hack something together.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

^That should work. I forgot about that plugin.

 

Set the Softness to 1 in TR's QuickOutliner. Then you'll need to use Gaussian Blur (Clamped), instead of the regular Gaussian Blur (otherwise color bleeding will happen).

 

That should give the exact same effect that's in your example image.

Edited by toe_head2001

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Similar to Eli's suggestion:

 

Add a layer

Run PyroChild's Effects>Render>Border N' Shapes (on new layer), adjusting Width for desired border thickness.

Use Magic Wand to select center area.

Apply Effects>Blurs>Gaussian Blur, adjusting Radius for desired fade.

Reverse selection

Erase Selection.

Flatten image.

Edited by MJW
Link to comment
Share on other sites

Ahhh - yes, so much easier doing the above steps than the tutorial.  I too had forgotten about that plugin.
 
You could also add a white border on a new layer and change the mode to get an interesting contrast.  I used 'difference' to get this:
 
N9LEVFz.png1E8pSbP.png
 

 

                              Difference                                                              Plain

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

I've thought of a way to completely automate this in code. I'll write the actual code tonight. 

 

I will be glad to give any sugestions like been able to control and draw the frame at a desired distance from the edge. As well as been able to control the width, color and transparency of the shaded frame.  :)

Edited by Eli
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...