Paint Shop Pro Tutorials: Translucent Fabric and Gems

For PhotoImpact, Paint Shop Pro, PhotoExplorer, PhotoExpress, GIF Animator & WebUtilities

Moderator: Ken Berry

LindaSue
Posts: 515
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.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Paint Shop Pro Tutorials: Translucent Fabric and Gems

Post by LindaSue »

Image

TRANSLUCENT EMBROIDERY TUTORIAL
This tutorial was written for Paint Shop Pro 8 and X2

SUPPLIES: 1. Open either "embroidery1.jpg" or "embroidery2.jpg". Add a 100 pixel border the same light blue color of the background around the fabric (Image > Add Borders).

Go to Layers > Promote Background Layer.

2. With the Magic Wand (Tolerance: 30, Feather: 2, Match Mode: RGB Value, Anti-alias) select the blue background behind the embroidery and press the Delete key to remove it.

Clean up the edges of the fabric by zooming in and using the Freehand Selection tool (Point-to-Point, Feather: 2, Anti-alias). It's helpful to add a black layer and move it behind the embroidery to make it easier to see the edges for cleanup.

When you're finished, delete that black layer. Crop off most of the excess empty background around the embroidery.

3. Open "translucent_mask3.png". Set the Foreground color swatch to Pattern and choose the mask image (Scale: 100, no rotation).

4. Because the embroidered flowers shouldn't be translucent, they need to be protected from the translucency mask we're going to apply.

Use the Magic Wand to select the fabric around the flowers (Tolerance: 30-40, Feather: 2 - Use a lower tolerance for white or light-colored flowers and a higher tolerance for dark-colored flowers). Make sure to get the larger areas in between the stems and leaves, pressing the Shift key along with the Magic Wand to add to the selection. Don't worry about smaller areas.

5. Keeping the selection, create a new layer above the flower layer. Flood Fill the selection on that layer with the gray translucency pattern. Select None.

Create another new layer in between the two layers and Flood Fill it with white. Merge the top two layers (Layers > Merge > Merge Down).

Image

6. Now we will create a New Mask Layer from the gray and white layer. Go to Layers > New Mask Layer > From Image (Source Luminance, Invert mask data, no change in Source window).

Go to Selections > From Mask. Make the embroidery layer active then press the Delete key. Select None and delete the mask layers.

Duplicate the embroidery layer then merge them both (Layers > Merge > Merge Down).

Adjust the Brightness > Contrast (Brightness: 0, Contrast: 20). This will remove a little of the translucency but it gives the fabric more substance and clarity.

7. Now we're going to add a drop shadow behind the fabric (see my Notes below) but it will need some manual tweaking. Because the fabric is translucent, the shadow behind it will make it look too dark and drab. We will fix that.

Apply a Drop Shadow (Effects > 3D Effects > Drop Shadow) with these settings:
Offsets: 1
Opacity: about 70
Blur: about 10
Color: black
Shadow on new layer: checked

8. Now go back to the layer with the fabric on it and make it active.

Use the Magic Wand to select the background around the outside of the embroidery (Tolerance: about 80-90, Feather: 1).

Invert the selection (Selections > Invert)

Contract the selection (Selections > Modify > Contract) by about 4-6 pixels so that the selection marquee comes very close to the edge of the fabric but doesn't extend beyond the edge.

9. Switch to the shadow layer and press the Delete key. Select None. Merge the fabric and shadow layers.

10. Go to File > Save As. Choose "Portable Network Graphics (*png)". Go to Options then click "Run Optimizer" (ignore the other settings in that box). Under the Colors tab, check "16.7 Million Colors". Under the Transparency tab, check "Alpha Channel Transparency" and "Existing Layer Transparency". Click OK then name your file and choose the location for it.

Here is a larger example showing the effect (click the thumbnail to view a larger version):

Image

NOTES:

The lighter the mask pattern you use, the less translucent the image will become. A medium gray works best for most images but you may need to try lighter or darker masks to get the effect you like. The color of the image can make a difference in how dark the mask should be.

What the mask does is change every other pixel in the image to a lower opacity leaving the alternating pixels opaque. Because the pixels are so tiny, you can't detect the tiny checkerboard pattern this creates but it allows you to be able to see through the image.

If you think you might rotate the embroidery later when you use it in a collage, wait and add the drop shadow (using the steps above) at that time so that the shadow ends up at the correct angle.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
LindaSue
Posts: 515
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.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: Paint Shop Pro Tutorials: Translucent Fabric and Gems

Post by LindaSue »

Image

TRANSLUCENT JEWEL TUTORIAL
This tutorial was written for Paint Shop Pro 8 and X2

SUPPLIES: 1. Using the Freehand Selection Tool (Point to Point, Mode: Replace, Feather: 2, Smoothing: 0, Anti-alias checked), select the areas of the gem that should be translucent. Press and hold the Shift key to add to the selection as needed.

Image

2. Save the selection to an Alpha Channel (Selections > Load/Save Selection > Save Selection to Alpha Channel).

3. Open "Translucent Mask 3.png". Set the Foreground color swatch to Pattern and choose the mask image (Scale: 100, no rotation).

4. Keeping the selection active, create a new layer above the brooch layer. Flood Fill the selection on that layer with the gray translucency pattern. Select None.

Create another new layer in between the two layers and Flood Fill it with white. Merge the top two layers (Layers > Merge > Merge Down).

5. Now we will create a New Mask Layer from the gray and white layer. Go to Layers > New Mask Layer > From Image (Source Luminance, Invert mask data, no change in Source window).

Go to Selections > From Mask. Make the brooch layer active then press the Delete key. Select None and delete the mask layers. Duplicate the brooch layer (Layers > Duplicate) then merge them both (Layers > Merge > Merge Down).

6. Load the selection from the Alpha Channel (Selections > Load/Save Selection > Load Selection from Alpha Channel).

7. I found that I ended up with a slightly visible checkerboard pattern on the gem but I found a way to fix that. With the brooch layer active, go to Adjust > Add-Remove Noise > Edge Preserving Smooth. I used a setting of 9 but play around with it until you get the effect you like. This blurred the gem slightly so I next applied the Unsharp Mask (Adjust > Sharpness > Unsharp Mask) to crisp it up again. I used these settings: Radius: 2, Strength: 50, Clipping: 5. Below you can see how the gem looked before and after tweaking to remove the checkerboard pattern:

Image

Image

8. This is optional, because the results were subtle, but I also made a selection of the bright area on the upper left side of the gem and adjusted the Gamma (Adjust > Brightness/Contrast > Gamma Correction) a little (Linked: 1.1). *

Image

9. I added a drop shadow to the brooch but it needed some manual tweaking. Because the gem is translucent, the shadow behind it will make it look too dark and drab so we'll fix that.

Apply a Drop Shadow (Effects > 3D Effects > Drop Shadow) with these settings:
Offsets: 2
Opacity: about 70
Blur: about 15
Color: black
Shadow on new layer: checked

10. Now go back to the layer with the gem on it and make it active. Load the selection from the Alpha Channel again. Make the Shadow layer active then press the Delete Key to remove the shadow from under the gem. Select None.

11. Go to File > Save As. Choose "Portable Network Graphics (*png)". Go to Options then click "Run Optimizer" (ignore the other settings in that box). Under the Colors tab, check "16.7 Million Colors". Under the Transparency tab, check "Alpha Channel Transparency" and "Existing Layer Transparency". Click OK then name your file and choose the location for it.

NOTES:

The lighter the mask pattern you use, the less translucent the image will become. A medium gray works best for most images but you may need to try lighter or darker masks to get the effect you like. The color of the image can make a difference in how dark the mask should be.

What the mask does is change every other pixel in the image to a lower opacity leaving the alternating pixels opaque. Because the pixels are so tiny, you can't detect the tiny checkerboard pattern this creates but it allows you to be able to see through the image.

If you think you might rotate the brooch image later when you use it in a collage, wait and add the drop shadow (using the steps above) at that time so that the shadow ends up at the correct angle. You will have to make a new selection at that time because the Alpha Channel selection won't be saved in PNG format.

* In Paint Shop Pro X2, you'll have to add the Adjust Gamma Correction tool to the toolbar and/or menu. It's not there by default. To add this tool, right-click on a blank area of the workspace and go to Customize. Under the Commands tab, choose the All Tools category (it's at the very bottom of the list). Under Commands, scroll down until you find Gamma Correction and drag it onto your toolbar.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
teknisyan
Posts: 2421
Joined: Wed Oct 06, 2010 4:18 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Sony Corporation VAIO
processor: Intel Corel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: Realtek HD Audio
Hard_Drive_Capacity: 500 GB
Location: Riyadh, KSA

Re: Paint Shop Pro Tutorials: Translucent Fabric and Gems

Post by teknisyan »

Wow..thanks for sharing! :)