Jump to content
How to Install Plugins ×

Transparency Adjustment Effect (Plugin)


BoltBait

Recommended Posts

Transparency Adjustment Effect

I noticed (and submitted a bug report) that when I changed a layer's opacity and merged another layer onto it, the result was less than I expected. The transparency never came out as you saw it on the screen. This turned out to be a problem when I was making collages of pictures and I was attempting to put drop shadows around some of the pictures. When I merged the picture layer with its drop shadow layer, it didn't look good at all.

Since there is no way in Paint.NET to directly adjust the opacity of a selection independent of the entire layer, I decided to write an effect to do it.

TransparentUI.jpg

The Effect DLL

If you like it, you can download the precompiled effect here: BoltBait's Plugin Pack for pdn 3.5 or here: BoltBait's Plugin Pack for pdn 4.0

How to Use

In order to use this effect, first select the pixels that you want to adjust. If you do not make a selection, the current layer will be affected.

Then, click the Adjustments menu and select Transparency.

Move the slider to the left to make your selection more transparent or move your slider to the right to make your selection less transparent.

If you would like to adjust transparent pixels, be sure to uncheck the "Ignore transparent pixels" check box. Completely transparent pixels will be filled with the secondary color before being adjusted.

When your selection looks the way you want, click OK. Otherwise, click Cancel to undo your changes.

Enjoy

I hope you find this effect useful. B)

Oh, and by the way, there are several people on this board :roll: who will be happy to know that I wrote the UI myself.

Link to comment
Share on other sites

I think having this is better than fixing your bug. This seems to be more intuitive. Great job!

EDIT:

One problem, without using the color picker there is no exact way to see what level you made the transparency. You need the actual values to show up in the dialog somewhere. Otherwise, it is great!

 

Take responsibility for your own intelligence. 😉 -Rick Brewster

Link to comment
Share on other sites

One problem, without using the color picker there is no exact way to see what level you made the transparency. You need the actual values to show up in the dialog somewhere. Otherwise, it is great!

The problem here is that not every pixel on the layer is changed to the same opacity level. You see, if you draw a solid shape on a transparent layer, then blur that layer, many of the pixels are already less then 100% opacity. You wouldn't want to adjust those pixels to the same level of opacity, the image wouldn't look natural-believe me, I tried that first.

The slider only makes pixels more or less transparent. The actual amount of adjustment may be different on a per pixel basis.

The reason for this is that the results look more natural when sliding the slider. Also, the calculation is different if the slider is above or below 0.

I hope this explanation clears things up for you.

Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...
  • 1 month later...
  • 2 months later...

Hey peeps...new here.

I've been using the Paint.Net program for a year or so now, and it works fine. Struggling a little, but i need to find time to get into the tutorials.

Anyways...i just added this Transparency plug-in, but i'm just not getting things happening the way i want them. My daughter wants to print a calendar. It's just a 1 page "yearly" version of 2008. I thought it nice to add a faded dolphin background in blk & wht, seeing she loves dolphins. Problem is, when i try the plug-in, the picture fades but i see the little squares in the background. And i try to overlap the pic onto the calendar page, i still cannot see the calendar. It's like they cancel each other out.

I've used Photoshop in the past and made many of these set ups, but seeing i can't afford the software, this program is the closest thing i found.

What am i doing wrong?

Rich

!!!GO HABS GO!!!

Link to comment
Share on other sites

Problem is, when i try the plug-in, the picture fades but i see the little squares in the background.

The squares indicate transparency. They show up if an image is partially or completely transparent only on-screen to distinguish between a white background.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Ok, I do all that and when I get to the save as I put it in the paint.net file under effects. when I push save it comes up saying I don't have permission to save in this location and to contact administrator for permission then it wants to know if I wan't to save it in my files instead.

Link to comment
Share on other sites

You'll need to log in as an administrator.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

I Really want to figure out how to download this plug-in but my computer won't do it... I want to be able to merge to pictures of my daughter playing peek-a-boo. One she has her eyes covered and the other one she just uncovered them... My computer is just not cooperating!!! If anyone has any ideas I would appreciate it!!!

Link to comment
Share on other sites

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...