Masks for the graphically challenged

Postby pixelblu on Wed Jul 25, 2012 9:00 pm

I'm hoping someone here can help. I've gone through a bunch of tutorials on masks but can't figure this one out. I have a psd file with several layers that includes a mask (filled in red) which is what I want to use as the shape of the image. Every tutorial has a different way of creating a mask but I can't figure out how to do it when the mask is a layer within an existing file. There's no option to save the mask to disk so I can load it into a new raster image to merge it with the image.

Can anyone who can point me in the right direction.

Thanks!


PSP X4
pixelblu
 
Posts: 5
Joined: Wed Jul 25, 2012 8:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: MICRO-STAR INTERNATIONAL G31M3
processor: Intel E6850 3.0Ghz
ram: 3GB
Video Card: Intel G33 G31 Express Chipset Family
sound_card: Realtek
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Viewsonic VA1930

Re: Masks for the graphically challenged

Postby LeviFiction on Wed Jul 25, 2012 9:09 pm

If it is actually a mask inside of PSP and not just used as a mask in photoshop then then you can go to the Layers menu Load/Save Masks -> Save Mask to disk.

Then open the other image and go back to the Layers menu and select "Load Mask from Disk"

You can also just copy and paste masks into another image like any regular layer.
LeviFiction
Advisor
 
Posts: 2566
Joined: Thu Oct 02, 2008 1:07 pm
Location: USA
operating_system: Windows 8 Pro
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK Computer Inc. K52F 1.0
processor: 2.53 gigahertz Intel Core i5 M 460
ram: 4GB
Video Card: Intel[R] HD Graphics
sound_card: Conexant SmartAudio HD
Hard_Drive_Capacity: 500GB

Re: Masks for the graphically challenged

Postby pixelblu on Wed Jul 25, 2012 9:54 pm

Thanks for the help...when I select the layer the I want to use as the mask the option "Save mask to disk" is greyed out.

Here's an image of the layer (in red) I want to use as the mask to get the image to fit in the background graphic.

2012-07-25_165016.png
2012-07-25_165016.png (105.27 KiB) Viewed 621 times
pixelblu
 
Posts: 5
Joined: Wed Jul 25, 2012 8:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: MICRO-STAR INTERNATIONAL G31M3
processor: Intel E6850 3.0Ghz
ram: 3GB
Video Card: Intel G33 G31 Express Chipset Family
sound_card: Realtek
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Viewsonic VA1930

Re: Masks for the graphically challenged

Postby LindaSue on Thu Jul 26, 2012 2:24 pm

If the red layer has a transparent background, I would lock the transparency for that layer then flood fill the red with black. I'd then delete any other layers in the image and then flatten it so that it's got a white background around the black shape. Then go to Layers/New Mask Layer/From Image and use these settings:

- Under "Source window", keep the current image selected
- Check "Source luminance" and "Invert mask data"

To save this mask to disk, make the "Mask - Raster 1" layer the active layer then go to the Layers menu and proceed as Levi posted for saving it to disk.
Using Paint Shop Pro versions 5, 6, 7, 8, 12, 14
LindaSue
 
Posts: 283
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.2GHz AMD Athlon 64x2Dual processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 320 GB
Monitor/Display Make & Model: Samsung SyncMaster213B 20-inch

Re: Masks for the graphically challenged

Postby pixelblu on Thu Jul 26, 2012 5:06 pm

Thanks to both of you for the help...I'm a lot closer. I can get to the point of getting the mask for the image done correctly but when I copy and paste that mask as a new layer in the original graphic the entire graphic goes transparent and the background is now in the mask. I've tried arranging the layers but that wasn't it so not sure where I went wrong.

Here's the mask:
2012-07-26_120412.png
2012-07-26_120412.png (91.83 KiB) Viewed 607 times



Here's the mask pasted as new layer:

2012-07-26_115444.png


Thanks again
pixelblu
 
Posts: 5
Joined: Wed Jul 25, 2012 8:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: MICRO-STAR INTERNATIONAL G31M3
processor: Intel E6850 3.0Ghz
ram: 3GB
Video Card: Intel G33 G31 Express Chipset Family
sound_card: Realtek
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Viewsonic VA1930

Re: Masks for the graphically challenged

Postby hartpaul on Fri Jul 27, 2012 2:06 am

So let me make an educated guess that you want to make images look like the following?

Image

Image
hartpaul
 
Posts: 361
Joined: Tue Mar 20, 2012 3:38 pm
Location: Australia
operating_system: Windows XP Home
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: AsusTex P7P55D
processor: IntelCore I 5 2.67 Ghz
ram: 2.99 Gb
Video Card: Nvidia GeForce GTX 460
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 2000 Gb
Monitor/Display Make & Model: BenQ T2200HD

Re: Masks for the graphically challenged

Postby pixelblu on Fri Jul 27, 2012 2:27 am

Yes that's exactly right...
pixelblu
 
Posts: 5
Joined: Wed Jul 25, 2012 8:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: MICRO-STAR INTERNATIONAL G31M3
processor: Intel E6850 3.0Ghz
ram: 3GB
Video Card: Intel G33 G31 Express Chipset Family
sound_card: Realtek
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Viewsonic VA1930

Re: Masks for the graphically challenged

Postby hartpaul on Fri Jul 27, 2012 4:06 am

OK then your question is really about frames rather than a mask .

Here are the steps I would do to get those images using the same 'mask' / frame.

1. I converted your image to a jpg (loaded png saved as Jpg and reloaded)
2. Applied a crop tool around the interior to get an approximate size of the image to be placed in that frame. In this case it was 331 x 197 pixels so I will use 330 x 200 (easier to remember).
Image

3. I then take the image to be the inset and set a crop rectangle of 300 x 200 on that image and tick box Maintain Aspect Ratio.
Image

4. I enlarge the crop rectangle to suit what part of the image I want. (this can be saved as a preset to speed up future crops) and apply.
Image

5. The cropped image is then resized to suit the frame. (Image --> Resize)
Image

6. Now to prepare your frame. I took your image(as jpg) and promoted it from background to layer to a raster layer.
Image
Right click the layer to get the context menu and choose Promote Background Layer

Image

7. I then choose all of your red area (magic wand set on Match Mode - RGB) and press the delete key and that part becomes transparent so I can see through to any picture beneath. . Then choose from menu bar Selections --> Select None
Image
8. Now place the images together on the workspace and drag the image thumbnail from the Layers palette onto the Mask image. (This is a quick Copy and Paste as new layer) .
Image
9. Lastly drag the image layer beneath the mask layer and use the Move tool for final positioning.
Image
hartpaul
 
Posts: 361
Joined: Tue Mar 20, 2012 3:38 pm
Location: Australia
operating_system: Windows XP Home
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: AsusTex P7P55D
processor: IntelCore I 5 2.67 Ghz
ram: 2.99 Gb
Video Card: Nvidia GeForce GTX 460
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 2000 Gb
Monitor/Display Make & Model: BenQ T2200HD

Re: Masks for the graphically challenged

Postby pixelblu on Fri Jul 27, 2012 4:38 pm

hartpaul - Thanks for showing me that...I really appreciate your time. It's nice to come across a forum that's this active and members willing to help.

Thanks to levifiction and lindasue too for the help with masks.
pixelblu
 
Posts: 5
Joined: Wed Jul 25, 2012 8:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: MICRO-STAR INTERNATIONAL G31M3
processor: Intel E6850 3.0Ghz
ram: 3GB
Video Card: Intel G33 G31 Express Chipset Family
sound_card: Realtek
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Viewsonic VA1930

Re: Masks for the graphically challenged

Postby ADonahoo on Sun Jul 29, 2012 1:48 pm

If the mask is a layer inside a psd file and it is to be used as a mask, why can't she save the layer as a new image and use that image as the mask? But then I don't know what kind of image this photoshop file is, and what it is to be used for. I wonder if these are grouped layers in a newer version of PHotoshop; PSP can't deal with those very well.
ADonahoo
 
Posts: 85
Joined: Tue Dec 13, 2011 5:04 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0X501H
processor: Intel i7 920 2.67GHz
ram: 8GB
Video Card: NVIDIA GeForce GTS 240
sound_card: Creative SB X-Fi
Hard_Drive_Capacity: 1TB
Monitor/Display Make & Model: Dell SX2210T


Return to Paint Shop Pro

Who is online

Users browsing this forum: No registered users and 4 guests