GrafX-Design.com

 tutorials | resources | inspiration 

Earn money with your website
This web site is earning money... isn't yours? Read our article on Making Money on the Web with Google AdSense or click the image below to get started earning money with your web site.
Better Web Browsing!
If you need:
  • Better browsing...
  • Faster browsing...
  • More secure browsing!
You need to...

Web Hosting

Over time GrafX-Design.com has had to relocate itself a number of times due to growth, etc. Eventually we came across pair Networks. Pair Networks was recommended to us many years ago and now we'd like to recommend them to you. If you need reliable web hosting, then you need Pair!

Xara 3D

Create amazing, high-quality 3D graphics easily!

Read our review of Xara 3D 6 or click the graphic below to download a free trial version.

Virtual Training Company

Video-based learning at its best

Over 45,000 online tutorials, over 300 topics on CD.

View free demos online...



Adobe Software

ACDSYS Software

Coffee Cup Software

If you need to create or maintain a Web site, then you need...

Click Here for CoffeeCup Website Design Software

Free Trial Download!

Free Google Software

SAC Digital

Visit SAC Digital for all of your printing needs...
100% Satisfaction Guaranteed!
Sacramento Printing


Your Ad Here!

Enlighten 3.5 million annual visitors as to why they NEED your product or service. Find out more here.

Current Favorites

Here's of list of our most popular tutorials:

Adobe Photoshop Xara Xtreme Pro Corel DRAW! Corel Paint Shop Pro

Resources

We've compiled a list of grafx resources for you!

Free Breast Cancer Handbook
Breast Cancer Survival 101
 

Photoshop Tutorials -- Transparent GIFs



Creating Transparent GIFs with Photoshop


This tutorial will show you how to create transparent GIFs. I used PhotoShop 4.0 for Windows. Some things may be done differently with other versions. Although I won't go into detail here, I used Kai's Power Tools 3.02 to create the background texture and to make it seamless.

Start off by opening your texture file (see figure 8.1). This is necessary as you'll need to choose the predominant color from it to use as the color you'll set to transparent.

figure 8.1
figure 8.1



Open a new file with File, New. I opened one at 400x200x72dpi.

NOTE: Open the file as an RGB even though you'll change it to Index later. This is so you can use any and all of the special filters you may choose to.


Select the eyedropper tool and use it to choose the predominant color from your texture image. What this color will be, I can't really say. This may take a little trial-and-error on your part. You'll only be able to tell if you've chosen a good color once you see the transparent GIF against the background tile. If you've chosen the wrong color you'll see a fringe around the GIF. If there is an apparent fringe you'll have to start over using another color for the background.

Make the new (empty so far) graphic current and, while holding down the ALT key tap the BACKSPACE key. This will fill the graphic with the color you chose from the texture image.

NOTE: We're obviously creating a new GIF here. The same steps used later on in this tutorial can be used to make an existing image into a GIF with a transparent portion.


Choose a color for your text and use the text tool to enter some text. I entered the word, Transparent (how inventive), in Fujiyama (a font that came with Corel DRAW! 3.0) at 90 pixels. I set bold and anti-aliasing ON. Hold down the CTRL key and use the mouse to center your text (see figure 8.2).

figure 8.2
figure 8.2



For effect I'll add a drop shadow using Alien Skin's Eye Candy (see figure 8.3). This is only for demonstration purposes and has no outcome on the final transparent GIF.

figure 8.3
figure 8.3



Here's where the fun begins!

Select Image, Mode, Indexed Color. Photoshop will inform you, via a warning message, that it must flatten the layers. If you think you might need to change this image in the future you'll probably want to click "Cancel", save the image as a PSD (Photoshop file) to preserve the layers, and then repeat the process this time letting Photoshop flatten the layers.

At this point a dialog box will appear that will enable you to select the palette, color depth, number of colors, and dithering mode. All of these should be experimented with to yield the best quality image. I can't really tell you which will work best as it's somewhat subjective and dependent upon the image you're creating.

I chose Adaptive, 8-bit, 256 and none for this particular image.

I probably could have used less colors and ended up with a smaller GIF with the same quality because there's only the text and the shadow to deal with. Images with more details and colors would yield different results.

Click "OK".

Now that the image has been transformed into indexed mode you can "Export" it as a GIF file.

Select File, Export, GIF89a Export.

This will bring up the GIF89a Export Options dialog box (see figure 8.4)

figure 8.4
figure 8.4



At the middle right of the dialog box you'll notice three icons. The third is of an eyedropper. It should be darker than the other two meaning it's active. If it isn't, click on it.

With this tool active click on the preview image somewhere on the color you want to be transparent.

The color you selected should be replaced with gray (see figure 8.5) in the preview window NOT in the actual image

figure 8.5
figure 8.5



In the GIF89a Export Options dialog box (figure 8.4) you also have the option of saving your GIF as Interlaced. This decision is up to you. Personally I prefer not to use interlacing so I normally de-select this option.

NOTE: If you look closely you'll see a fringe of blue, the background color I chose from the texture. This is present due to the anti-aliasing of the text and the shadow. You could remove this fringe using various methods but I find it easier to create the GIF against the appropriate color. Choosing the right color will allow the transparent GIf to blend seamlessly (pun intended) into the background.


When you click "OK" the Export GIF98a dialog box will appear. Give your GIF a filename and click "Save".

Your GIF is now ready to be uploaded to your web server.

Click here to see what my finished GIF looks like on the tiled background.


That's it.... Be sure to check out some of our other Photoshop tutorials.


High Quality video-based tutorials

...with over 300 different titles, all taught by professionals. Learn any application in a fraction of the time right from your own desktop. This unique method offers accelerated learning and a high retention rate. Here are a couple of topics that you might find interesting. View free demos of the courses using one of the links listed below.
Photoshop CS2 Tutorials Photoshop Special FX
Photoshop for the Web Photoshop for Photographers
Photoshop CS Tutorials Photoshop Image Artistry
Photoshop Image Restoration Photoshop 7 Tutorials


Previous Photoshop Tutorial Photoshop Tutorials Next Photoshop Tutorial
[Previous Tutorial]     [Photoshop Tutorials]     [Next Tutorial]


If you own a digital camera and you're anything like me, you have thousands of digital photographs. It's great having all of your photos at hand, but how do you catalog them? What if you're looking for a specific image? No problem... Help yourself, and GrafX-Design by downloading Google's photo software.



Create really cool 3D graphics!
Read our Xara 3D 6 review
or click the graphic below to
download a free demo.



We'd like to hear from you... If there are any Photoshop techniques you'd like to see covered, send us an e-mail.


I don't mind telling you that we have the very best Web hosting provided by pair Networks.
GrafX-Design.com



Comments/Questions   ||   Copyright © 1996-2007 GrafX-Design.com -- All rights reserved   ||   Privacy