Posts Tagged ‘Photoshop CS3’

How to create a pattern background for your website using PhotoShop

Wednesday, November 4th, 2009

I create all of my mock ups for websites in Photoshop. Basically I lay everything out the way I want, work with my clients to get everything approved and then move on to development. One of the things that I have thought has been very helpful in this process is the ability to create cool backgrounds. I will show you how I created the background for this website and how I applied it.

1. Create a New file in Photoshop that is 20 x 20 pixels wide, RGB.

20x20

2. Next, I used the fill tool and fill it with a dark background color.

FILL

3.Use the line tool and make a few lines and such. patterns can be tricky, when they repeat you might not get what you expect. You can also create a grid. Make sure the lines are not too contrasting, otherwise the background may look a little busy. This is an easy way to learn how it works with random lines.

lines

4. Once you have finished your pattern, select Edit > Define Pattern

define_pattern

You will be asked to name your pattern.

5. Once you have defined your pattern, all you have to do is apply it to any background. I usually create a back ground for my webpage, however try it with a new file. Create a new file that is 200 x 200 px. For the background layer, make sure to define it as a layer. You can do this by double clicking on it and renaming it. After it is renamed, you need create a layer affect. Do this by selecting Layer > Layer Style > Pattern Overlay.

layer_style

After selecting Pattern Overlay, you will be prompted to a layer dialog box. Choose the arrow by the pattern and then you will see your pattern in the selectable squares. Select it.

select_pattern

After doing this, your page will have a tile of the pattern you created. This works on any size layer or shape, like a rectangle. Experimenting with patterns is a lot of fun!

pattern_bg

As you can see the tiles just repeats itself over an over. There is definitely a science.

Below are 2 few example of cool pattern from Kaliber10000

Kaliber10000 Pixel Pattern

Kaliber10000 Pixel Pattern

How to mask images in PhotoShop

Sunday, March 8th, 2009

Masking 101

Ever wanted to have an image within an image? Lets say you have a background image of something, yet you want a certain part of another picture to peek through it. You could easily cut part of the picture and paste, however masking gives you the benefit of moving around the image underneath, and re-aligning the “portal” that you are looking into.

First Step: Define the background image

Open an image that you want to use:

Second Step: Draw a portal. You can use just about any shape tool to do this and use a color that is easy to see against the background image. I will use the circle and select yellow as the color.

Photoshop mask step 2

Third Step: Add another picture to the file. Choose another picture that you want to use. make sure it is larger than the portal, however smaller than the background. I recommend opening the image, resizing it to something smaller than the original background, then either copying the whole image onto the background or dragging it to the background image. You can easily re-size the image by pressing CTRL T and then while holding SHIFT, dragging the image. I would only recommend reducing. If you need enlarge it there may be pixelation.

Masking Step 3

Step 4: Applying the Clipping Mask. Open your Layers pallet. You should have 3 layers, one for the background image, 2 for the circle, and 3 for the overlaying image. Make sure that the top image is a layer above the shape, in our case the yellow circle. Right click on the top layer (the image) in the layers palette and select Create Clipping Mask.

Masking step 4

Step 4: Save your file to whatever format you want, however make sure to keep a PhotoShop source file saved! If your image is not in the correct position, now worries, you can easily move either the masked image or the circle to your specifics. This is a lot easier than cutting and pasting. You can also adjust the size of your shape as well if it is too large or small.

Masking Final Step

Good luck masking!