© www.dtp-aus.com
How to!
adding the shadows, and changing colour
| Images
Main page | How To! Main page | other Exercises |
Read these pages through first
before attempting the exercises
| Adding the Drop Shadows for white backgrounds | |
| A description of Transparent GIF file saving is included here This page has lots of pics, and plenty of comments to learn from Most of my free bitmap buttons that include separate shadow image files have transparent pixels. These are pixels of a nominated colour that can be indexed within the file, as pixels that are not to be displayed when the GIF Import filter in your browser opens them. Keep this in mind when you save the files and I offer some assistance to keep the transparency. I have nominated all white pixels to be transparent, therefore none of the other colours are white - some are near white. Lets start with the simplest 3D button and you can practice with the others as you gain in confidence. Below is a sample of one of them with a shadow image, and I suggest you save these to work on for starters.
Use the 'Canvas Size' option in the Image Menu and add enough pixels both horizontally and vertically to cover the new addition - 50% bigger bottom and right hand side should do. Refer to the pic below on the left if you do not understand what increasing the canvas size means. The canvas is the full background area of a bitmap in a painting program. Picaso probably got the wife to make his canvas bigger with cotton and thread, but we can just click on a few simple options! Keep
an eye on the tool options Choose the Rectangular Selection Tool and Magic Wand Tool and in turn check the following. For Photoshop check that Antialiasing is set "off" (tick box), Feather set to 0 and Tolerance is set to 0 on the Magic Wand - Tool Options. For Paint Shop Pro, Feathering is 0, Match Mode equals RGB and Tolerance set to 0 on the Magic Wand - Tool Options. Change the Colour Depth to RGB, apply your changes and later change back to Indexed colour if using GIF images. (For Photoshop choose 'Mode - RGB' via the Image Menu. For PSPro choose 'Increase Colours - 16 million' via the Colours Menu) Prepare You have now selected only the white pixels in each image.
While the shadow image is still active, choose 'Invert' via the Selections Menu. Now only the grey pixels of the shadow will be selected. Choose 'Copy' via the Edit Menu. The 'Copy' command places the selected pixel information into the programs memory Clipboard Put
it all together Neatly
Crop the combined image and Save
the finished button with a drop shadow Saving
GIFs with Transparency The options usually available with the gif89a filter appear quite differently from program to program but I have included the current screen captures from Photoshop and PSPro to help with a simple step through of how to go about using it. PSPro has an option button for opening the transparent colour options when the GIF file type is selected via 'Save As'. With Photoshop you will find the filter listed under 'Export' via the File Menu. Of course you must first make sure the image is converted to 256 colours or less (one channel - "Indexed") Change the Colour Depth back to 256 (or less). For Photoshop choose 'Mode - Indexed' via the Image Menu. For PSPro choose 'Decrease Colours - 256' via the Colours Menu. When creating an image for transparency, keep in mind which colour in the image you want to use and do not use that colour in any other area. This will keep the inexperienced out of trouble - it can be made a little more complex if you have the right program. As already mentioned elsewhere the transparent pixel colour I chose is white, and most people choose the background colour whatever it is (you can apply any colour that is not in the image area). First
we will look at Saving with Photoshop: Select the picker and carefully click on one of the white corners. Clicking on a light grey near the white would be disastrous, so if you want to reset, press the 'Alt' (apple) key and click on "Reset" which will replace the 'Cancel' button as you do so (if you are unaware of it, this option is available in most Photoshop effects windows). The instant the picker clicks on and selects a colour that colour will change to a default grey. (all gif89a filters do this to my knowledge, which is why, when you open a .GIF file with transparency the transparent pixels look strange displayed as grey). However because some Web Browsers cannot display transparent pixels and show the grey instead, I elect to change the default to white which is a little less offensive on any background colour. Once the pixels are selected with the picker, click on the square panel in the middle of the window and change the grey to white IF YOU WISH TO. Other wise leave it as is. Interlace
it and Save Photoshop gif89a filter option window Now
we will look at Saving with Paint
Shop Pro: Interlace
it Click on the 'Options' button and then select the GIF tab as shown below - if not already displayed by default. The different options seen will be understood with time as they are fairly obvious, but the one I want you to select is the bottom one - as shown below. The drop down list now active will display all the colours in your image by number. You have noted the value needed for your button so enter that value. If the image can be seen and the Preview button is clicked, the white will be replaced by a default marker grey. (all gif89a filters do this to my knowledge, which is why, when you open a .GIF file with transparency the transparent pixels look strange displayed as grey) Save
it the PSPro 256 palette
colour number (I) < and > the PSPro gif89a
filter Option window The problem with these shadows is that when viewed with coloured backgrounds the near white looks false and hard edged. I will be adding a simple tutorial on shadow creation but in the meantime carry out the Colour Changing Tasks as suggested below. Then with a background colour placed in a suitably sized New Canvas, Copy and Paste the shadow file used above, and while it is still "floating", see if you can change the colour so that it will look more natural on the chosen background colour. (Hint If the option you try has a "Saturation" value, try it below middle or 50% while you change the colour) It should again stretch your imagination for when other design ideas come up and you have to think of a way to achieve them. Enjoy. |
|
| Changing the colour | |
| Learn how the tools work and let your imagination do the rest There is little to learn about changing the colour of objects for the Web other than to try and keep the final file size as small as possible for telephone line transmission. Also when using one of the suggested options remember that a selection area (created with the Selection Tools) can be used to confine changes to certain image areas only. i.e. change the inner border and shadows one way and perhaps the outer 3D border another for very personalised results. Below are compilations of the major colour changing windows for Photoshop and PSPro. Advanced Prepress colour correction topics are not for people inexperienced in the field so if you realise that a few "heavy" options are not listed for Photoshop, understand why. Change the Colour Depth to RGB, apply your changes and later change back to Indexed colour if using GIF images. (For Photoshop choose 'Mode - RGB' via the Image Menu. For PSPro choose 'Increase Colours - 16 million' via the Colours Menu) Practice with these colour control tools and like all of the introductory How To! pages, your imagination will probably run riot once the simple basics are accessible and understood. Photoshop colour
change options
Paint Shop Pro
colour change options
Converting
back to 256 (or less) colours PSPro. Choose 'Decrease Colour Depth - 256 colours' from the Colours Menu. Go to the File Menu and choose 'Save As" and give the file a new name in the desired folder. From the drop down list of file types, select GIF. Click "Save"..... |
|
| Exercises | |
|
|
| Images Main page | How To! Main page |
| Over 120 pages: All major topics divided into Classrooms | ||||
| Free Backgrounds & Buttons! | DTP and HTML | "My First Page" HTML lessons | ||
| Tutorial Text Search | Perl CGI Scripts | Typography & Layout | ||
| 4 pages of Links | Visitors Book | Perl Scripts Forum n/a | ||
| Free Links page | Feedback Form | Q/A contact Forum | ||
| pages Designed & Published - Ron F Woolley | |
| ©1997 '98. Last Revised: Friday, 31 October 2003 22:04 |