Wednesday, March 8, 2017

Applying an image as an alpha mask in Paint.NET

Suppose you have a grayscale image that you want to use to control the alpha (i.e. opacity) of another image. Paint.NET doesn't seem to have a blend mode that does this. "Screen" is somewhat close, but the mask still shows up.

Somebody wrote a Paint.NET extension to accomplish this task: Alpha Mask. Place that DLL in this directory so Paint.NET will load it:

C:\Program Files\paint.net\Effects

It adds an "Alpha Mask" menu item under the Effects menu. Using that item opens a dialog that allows you to control the masking. You can invert the mask (by default, white means completely solid), conserve existing transparency, and switch between the clipboard and a file for the mask source.

Based on my Super User answer.

No comments:

Post a Comment