Skip to main content
Home Forums mask problem mask problem
Thread

mask problem

mask problem Development 3 posts Feb 18, 2003 — Feb 18, 2003
Ok, I have an titlebar which, minus the layer effects, is just a rectangle with a 15 px radius. In theory I should be able to make a second white layer, merge them, invert that and have a mask. When I put this into my theme it gets really funky, I think its because some pixels on the edge are the same as whats in the source image, but I'm not sure. What is a realiable way to make a mask? I've used this method before (Xia Mia, etc) and its fine.
heh i've been working on a theme using GraphicConverter, not as pretty as photoshop but can get the job done.

In GC I use the magic wand tool on my background, lets say it's black, choose Edit->Invert Selection, then choose Edit->Fill selection with foreground Color (making sure the foreground color is set to white first), then I do Edit->Select All and Picture->Invert.

So the most reliable method is to put your image on a black background, fill your image in with white and invert.
If it has any transparency then you have to premultiply it. I made a tutorial a while ago Premultiplying.
mp.ls