Jump to content
How to Install Plugins ×

Alpha Mask Import Plugin (2.0)


Illnab1024

Recommended Posts

Does the eraser tool do the same thing...? :?

AFAIK you cannot *undo* the eraser. Also, IMO that question would be more appropriate for my AMB plugin.

KaHuc.png
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I thanks you muches!! I have needed one of these for a while, but I was too lazy to look for one. :P

L1ke20N1njasAuraSplats.png

Click my signature to go to my deviantART.

Link to comment
Share on other sites

  • 2 months later...
If I Invert the mask the transparency has an alpha value of 1 instead of 0....

this

and, if I use a total white(255 255 255) mask, it still give the picture transparency alpha 254

~~

Link to comment
Share on other sites

  • 2 months later...

It wont work for me. When I try to use it it says rendering except then nothing happens. Then I get this error message

File: C:\Program Files\Paint.NET\Effects\AlphaMask.dll

Effect Name: PaintDotNet.Effects.PhotoFloodFillEffect

Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.IO.FileNotFoundException: frozen mask

at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)

at PaintDotNet.Effects.PhotoFloodFillEffectConfigToken.GetImage(String aFileName)

at PaintDotNet.Effects.PhotoFloodFillEffect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length)

at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction()

--- End of inner exception stack trace ---

at PaintDotNet.Effects.BackgroundEffectRenderer.Join()

at PaintDotNet.Effects.BackgroundEffectRenderer.Abort()

at PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, PdnRegion selectedRegion, PdnRegion regionToRender, Surface originalSurface, Exception& exception)

can someone help me?

Music Brings color to the world

Photobucket Sucks!

My Gallery|Frozen Text|Snowy Font|MSNBC Effect

Link to comment
Share on other sites

  • 4 months later...

Would it be possible to add a couple of x and y sliders to the interface for displacement? Might be useful.

I'm not a coder, though, so I don't know how hard this would be.

Photobucket Sucks!

Link to comment
Share on other sites

  • 5 weeks later...

I am having trouble with results from using Alpha Mask. I keep getting a transparency # of 9 for the background. I need complete transparency or I get a haze. I am using this to make plant textures. Can this be done? Or am i an idiot and doing something wrong :)

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 months later...
This plugin allows you to import an image from a file or the clipboard and make it an alpha mask. If the image has color, it will be converted to greyscale.

This is awesome! Now I can store my mask inside of the PDN itself! No more lost files!

This has always been my biggest complaint with Alpha Mask Import plugin... the fact that I had to save an external file to use it. Thanks for fixing that! Ctrl-A, Ctrl-C, switch layers, run plugin. Nice and easy.

Best.Idea.Evar!!!

Clipboard idea courtesy BoltBait.

Oh, yeah... You're welcome. ;)

Link to comment
Share on other sites

Sorry bout that.. file's there now.

Had essays to write. Still have essays to write. Hooray for midterm period.

Also, a word to the wise, if you get stuck looking for the bug, just send a message in all caps to someone random. It helps me all the time.

~~

Link to comment
Share on other sites

  • 1 month later...

Great stuff guys!

One thing though. When drawing, I tended to use this plugin to isolate black lines drawn on a white canvas. Before, the default action of the plugin was to use a gray-scaled rendition of the current image as the alpha mask. Now, I have to copy my canvas and then enter the plugin to get the same functionality. I really miss the simplicity of my previous method. I know it's just one extra step, but there are times when I am working with hundreds of lines and repeat this process for each! That, and I don't think that adding it back would negatively effect any workflow where other mask selection methods are ultimately used...

Please add that back, or make the old version available for download so I can use both versions (I lost mine when upgrading to win7). Thanks so much!

 

Take responsibility for your own intelligence. 😉 -Rick Brewster

Link to comment
Share on other sites

Just wanted to echo that this is really awesome. Thanks!

I was trying to get the explosions generated from this program to be transparent, and your plugin was exactly what I needed. I dropped it in the C:\Program Files\Paint.NET\Effects folder, loaded up the program, loaded an explosion image, copied it to the clipboard, ran your plugin and BLAMMO! Instant alpha. Beautiful.

Thanks again, this saved me a lot of time and headache.

Link to comment
Share on other sites

  • 1 month later...

One of the most useful plug ins EVAH!!! I use it for cutting out images accurately...

Just one suggested improvement/request - is it possible to get it to use a selected layer in the current drawing as the Mask? (although having the ability to use the clipboard is an awesome improvement and will probably do what I am asking anyhow)

[img]http://www.geocities.com/gerry_satrapa/PDNsig.jpg[/img]

Link to comment
Share on other sites

One of the most useful plug ins EVAH!!! I use it for cutting out images accurately...

Just one suggested improvement/request - is it possible to get it to use a selected layer in the current drawing as the Mask? (although having the ability to use the clipboard is an awesome improvement and will probably do what I am asking anyhow)

No, effects can not access other layers in your file. This is a limitation of the Paint.NET effect system.

This is why I asked Illnab1024 to add the clipboard functionality.

Link to comment
Share on other sites

My biggest qualm with the new version it that it doesn't want to mask the image while there is no image loaded and after you previously had used the Paste from Clipboard functionality, even without it ticked. A restart of Paint.NET is required, and it can be extremely frustrating. Then again, I am sure I am one of the very few people who uses this plugin without a mask loaded most of the time. :?

signature.png

Link to comment
Share on other sites

barkbark00,

So far as I can tell, the Alpha-Displacement plugin effect

is at default setting an Alpha Mask effect using the working

layer as its own mask.

It should give you the functionality that you want.

Link to comment
Share on other sites

  • 4 weeks later...

I am trying to put a texture on top of a photo and smudge away part of the texture (but NOT the color of the texture) on poeple's faces. Some one suggested I use an Alpha Mask. I downloaded it but cannot find it on any of the tabs at the top of pdn. Does anyone know of a tutorial that is helpful? I tried searching but all the link were either broken or expired.

Thanks in advance!! :D

Btw, I attached a picture of what I am trying to accomplish.

42626_8a1981378f45740900707f9e811fdbeb

Link to comment
Share on other sites

kayliedanielle,

Alpha Mask is in Effects.

In the top menu:

Effects > Alpha Mask.

==========================================

There is more than on way to

prepare a mask, this is one.

Make a new transparent layer above your background image.

Use the Paintbucket tool with a right-click, to fill

the new layer with white.

In the Layers window click the bottom right icon, and set

the Blend mode to Multiply. Press Enter.

The white will have turned clear.

Working on the now-clear layer, use the PaintBrush tool

to cover the people's faces with black.

If you make a mistake and paint some black outside the area

you want, just switch to the right mouse button and use it as

if it was an eraser.

Once everything to be left untextured is covered by black,

position a texture layer below the mask layer.

Duplicate the texture layer and apply Gaussian blur to the

top texture layer until all detail is gone.

(The blurred color will remain.)

In the top menu:

Effects > Blurs > Gaussian Blur

In the Layers window click the mask layer.

Now hold down the Ctrl key and press A, C, D

This will copy the mask to the clipboard.

In the Layers window click the blurred layer.

Apply the Alpha Mask effect with the

Invert Alpha box checked.

Merge what remains of the blurred texture layer

down onto the unblurred texture layer below it.

Apply the edited texture layer to your background layer.

The Paint.NET Help file is available to help you figure out

various aspects of the basic program.

http://www.getpaint.net/doc/latest/en/E ... sMenu.html

It can be accessed from Paint.NET by pressing the F1 key.

===============================================

This example was made, with Alpha Mask, using roughly

the above described method.

http://www.LupiUpload.de/images/2010/02 ... b42181.png

If you don't like the result (aside from the lizard skin texture used)

then please explain what needs to be different.

If you feel that you must use Smudge, then in Smudge use

a very large soft brush, slide the Tolerance up to 90-100%.

Go mouse-down and jiggle the brush in place, mouse-button-up,

change position and repeat.

All that you will be doing is blurring things somewhat inefficiently.

Link to comment
Share on other sites

Sarkut,

That is very similar to the look I want! The only thing is that I would like to fade the texture a bit more and instead of her entire body and clothes being texture free, I would like only her face to be completely texture free, and her clothes and other skin (arms, hands, etc.) to be mostly texture free. Did you notice on the original how her arms still had a tiny bit of texture on the edges?

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