Overlay, Mask, Please Help

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
ontrack5
Posts: 2
Joined: Sun Sep 27, 2020 6:06 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Overlay, Mask, Please Help

Post by ontrack5 »

I've spent several hours trying to find the answer, no luck. Maybe I'm just searching for the wrong terminology.

I'm trying to make masks for my website.

For example. A t-shirt mask. it's basically a png file that contains all the shadows, details, etc for the shirt, just no actual color. So if I lay this mask over a square of color, I get the shirt with whatever color I select from a palette.

https://docs.lumise.com/product-mask-image/

This url shows what I'm looking for.

How can I make these in paintshop pro?

Thanks,
Craig
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Overlay, Mask, Please Help

Post by LeviFiction »

Yes, though how to do it will depend. the method I use below isn't guaranteed to work on everything.

Blend Ranges are probably your best bet. I used this image as a test: https://en.wikipedia.org/wiki/File:Blue_Tshirt.jpg

1) First I duplicated the background layer so that I'm working non-destructively. Then I hid the background layer because it's not necessary.
2) On the duplicate I use the magic wand tool to select the white background
3) Promote the selection to a layer - This will be the white background surrounding image
4) Selections -> None
5) Select the T-shirt layer
6) De-saturate the image - Adjust -> HSL -> Hue/Saturation/Lightness - Set Saturation to Zero.
7) Open the Layer Properties
8) Select the Blend Ranges tab
9) Set Blend Channel to Grey Channel
10) On the "This Layer" bar, select the top right arrow and move it all of the way to the left. Then move the bottom right arrow in closer until you see only the shadows.

You can now test the image by adding a color layer below the t-shirt layer to see how it looks. You can adjust the blend ranges to get a better look. Once you're happy with it, hide the color layer, and save the result as a PNG.
https://levifiction.wordpress.com/
migf1
Posts: 510
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Overlay, Mask, Please Help

Post by migf1 »

Hello ontrack5,

although it is possible to make a mask containing different levels of transparency for shadows and such, in your example it is much easier to just desaturate the t-shirt, adjust its contrast and/or brightness using for example levels or curves (even fine tune them using their masks, if you apply them as adjustment layers) and then just create solid color layers on top of the t-shirt, and change the blend mode of those solid color layers. You should have just 1 solid color layer visible at any given time, but sometimes having more than 1 can give you interesting mixes of their colors.
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingLeviFiction PSP Basics
(plus my own Gimp & Stuff)
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Overlay, Mask, Please Help

Post by LeviFiction »

I was just going to edit my post but since migf1 has replied I wanted to show these Photoshop tutorials. They are very similar to PaintShop Pro. Nnames and keyboard shortcuts might be different but most of these can be used in PSP.

http://www.michaelhoss.com/blog/how-to- ... shirt-mock <- essentially sues the method migf1 suggests.

https://community.adobe.com/t5/photosho ... 092?page=1 <- responds to someone asking about the previous tutorial with alternatives including the method I use above.
https://levifiction.wordpress.com/
migf1
Posts: 510
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Overlay, Mask, Please Help

Post by migf1 »

Oh , we were cross-posting Levi. Nice links!
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingLeviFiction PSP Basics
(plus my own Gimp & Stuff)
User avatar
hartpaul
Advisor
Posts: 2893
Joined: Tue Mar 20, 2012 3:38 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020
Location: Australia

Re: Overlay, Mask, Please Help

Post by hartpaul »

Using Levis link to the shirt I copied and pasted into PSP , then
1. Used magic wand with selection mode RGB selected the white area.
2. Selections > Invert
3. Choose Tool - Change to Target Brush (in group which starts with Lighten/ Darken just below the Paintbrush tool) Make the brush large enough to cover the whole image.
4. Make the Hardness 100, Opacity 100 and select a color for the Foreground and Stroke .
5. Click in the middle of the shirt and that color will fill the area of the shirt and still show the shadows and texture of the original). Choose another color and click again and you have a new colored shirt .
All without multiple layers. And you can even throw in some gradients and patterns
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
ontrack5
Posts: 2
Joined: Sun Sep 27, 2020 6:06 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Overlay, Mask, Please Help

Post by ontrack5 »

This helped me a lot. I was able to get what I needed. Thanks to everyone for their help
LeviFiction wrote: Sun Sep 27, 2020 8:34 pm Yes, though how to do it will depend. the method I use below isn't guaranteed to work on everything.

Blend Ranges are probably your best bet. I used this image as a test: https://en.wikipedia.org/wiki/File:Blue_Tshirt.jpg

1) First I duplicated the background layer so that I'm working non-destructively. Then I hid the background layer because it's not necessary.
2) On the duplicate I use the magic wand tool to select the white background
3) Promote the selection to a layer - This will be the white background surrounding image
4) Selections -> None
5) Select the T-shirt layer
6) De-saturate the image - Adjust -> HSL -> Hue/Saturation/Lightness - Set Saturation to Zero.
7) Open the Layer Properties
8) Select the Blend Ranges tab
9) Set Blend Channel to Grey Channel
10) On the "This Layer" bar, select the top right arrow and move it all of the way to the left. Then move the bottom right arrow in closer until you see only the shadows.

You can now test the image by adding a color layer below the t-shirt layer to see how it looks. You can adjust the blend ranges to get a better look. Once you're happy with it, hide the color layer, and save the result as a PNG.
Post Reply