Thursday, 25 January 2007

Web2.0 Style Button

So you like your buttons web2.0 style? Well in this tutorial I show you how to create this button:

Start my creating a new 72dpi document. Then Use the 'rounded rectangle' shape tool to draw the body of the button.





Now open the layer effects dialogue by selecting the layer and clicking the 'F' button at the bottom of the 'layers' palette.
Click on 'gradient overlay' then click on the gradient dropdown. Set the start and end gradient colour stops to #434343 and #000000.



Then click on 'stroke' and add a 3px black outer stroke. Also add an 'inner glow'.
This will give you the following basic button:





Now create a new layer on top of the first and draw another rounded rectangle (white this time).
This rectangle will be the gloss on the button. It needs no layer effects.
Position it as shown, then right click on this layer in the 'layers' palette and select 'rasterise'.



With the new (top) layer selected, switch to 'quickmask mode' and use the gradient tool to draw a gradient similar to this one:



Now switch out of 'quick mask' to get the selection and hit the delete key.
Hit [ctrl - D] To remove the selection.
You should now have a button that looks like this:


If the button doesn't look glossy enough try adding a 'satin' effect to the original (large) shape layer:



Add some text in a web2.0 font (e.g. arial rounded). Here I have also added a feed icon.

Finally link all the button layers together (click the link slot next to each layer in the 'layers' palette) and merge them (Menu: Layer > Merge linked).
Now duplicate the single button layer onto a new layer (Menu: Layer > Duplicate Layer) and position the copy below the original.



Select the lower button layer and use Menu: Edit > Transform > flip horizontal/vertical Until you have a mirror image:



Finally select the lower button layer and use Menu: Layer > Add Layer Mask > Reveal All to create a mask.
Then use the gradient tool to draw a white gradient across the layer to produce the fading reflection:


----------------------------
See the rest of my blog here:
http://adobe-photoshop-tutorial.blogspot.com/

Wednesday, 24 January 2007

Marquee Based Selection

The most basic way of making a selection in photoshop is to use one of the standard shaped marquees. The standard shapes are: elliptical and rectangular.

There are also two marquees that select either horizontal or vertical rows that are one pixel wide. These are useful for drawing one pixel wide lines and creating 'pixel stretch' effects. See our pixel stretch tutorial here.

In this tutorial we will be selecting the wheel of a car using the marquee tool.

Note that to remove a selection after it is no longer required (or in order to make a new selection) use the 'deselect' option on the 'select' menu [ ctrl - D ] . Also on the 'select' menu you can use the 'inverse' option to select the inverse of the current selection.



Choose the elliptical marquee from the top left of the toolbar. You may have to click and hold the tool to bring up the menu of marquee tools.



Once the elliptical marquee tool is selected draw an oval selection over the wheel. The easiest way to do this is to hold down the [ Alt ] key after you have started drawing (this will enable you to begin drawing from the centre of the wheel rather than from the top left). Another good tip is to hold down the spacebar while you are holding down the left mouse button. This will enable you to draw and move the selection at the same time.



Having selected the wheel of the car you will want to do something with the selected area. To copy or move it to a new layer, simply select 'New' from the 'Layer' menu and choose either 'Layer via copy' [ ctrl - J ] or 'Layer via cut' [ shift - ctrl - J ]. Thus the selected area of the image will be copied/cut onto a new layer.

Once you have made a selection you can create another selection that subtracts from the original.



Once you have selected the wheel you can remove the centre of the wheel from the selection. Just hold down [ Alt ] while selecting the wheel's centre.



You can also add areas to the original selection. Hold down [ shift ] while selecting the top ring of the Audi logo.



When you have finished adding/removing areas from the original selection you can move the defined area to a new layer or simply shift the selection to a new area on the same layer. To move the selection to a location on the same layer just hold down [ ctrl ] while dragging the selected area. To copy the selection to somewhere on the same layer hold down [ alt ] while dragging the selected area. If you do not hold down [ ctrl ] or [ alt ] you will simply move the location of the selection.

Having made a selection it is possible to create another selection that intersects the original by holding down both the [ alt ] and [ shift ] keys at the same time while drawing the second selection.



Start by selecting the wheel with the elliptical marquee tool. Then hold down the [ alt ] and [ shift ] keys together while drawing a rectangular marquee ( you will need to switch to the rectangular marquee tool) that intersects the original selection. Note: intersection is the default behaviour after a selection has been made, thus holding down [ alt ] and [ shift ] together is optional.



Draw the rectangular selection so that it cuts off the top and bottom of the oval.


Final Tips: Selections can be nudged into position rather than dragged. Thus giving you more positioning control. Nudge selections one pixel at a time using the arrow keys. Hold down [ shift ] to move 10 pixels at a time.





If you have trouble remembering the keyboard shortcuts for adding, subtracting and intersecting selections you can use the buttons on the above toolbar.


If you hold down the [ shift ] key AFTER you click and drag using the marquee tools (rectangular or elliptical) then they will form perfect squares and perfect circles no matter how you drag the mouse.





The way to make the rectangular marquee most useful is to use a 'free transform'. Simply draw a rectangular marquee. Then select 'transform selection' from the 'select' menu. Then go to a corner of the selection, hold down the [ ctrl ] key and drag the corner into place.



Free transformation can also be used with elliptical marquee tool to make fine adjustments and thus find a perfect fit between the selection and the image.