As you may know, the most widely supported web image graphic formats are
GIF and JPEG. This may add to you confusion--when should I use GIF and
when should I use JPEG?
The easy rule to remember
- Use GIF format with graphics that you have created on your computer such as horizontal rules, buttons, or animation.
- Use JPEG format when the images are scanned pictures or photographs.
JPEG was built to contain 24-bit (16.7+ million colors) and was developed specifically for photographic-style images. JPEG stores the information of images by keeping track of color changes. The advantage of JPEG is that it can carry a smaller file size than GIF when used in storing photographs and images with a wide variety of shading. But, it will not yield a smaller file when dealing with low color level and details like computer generated graphics.
GIFs also has some special features such as animation, transparency, and interlacing.
Animated GIFs
You can get GIF animation tools from many sources, I have listed them on Graphic Tools page, another page on this site.Here are some sources for free GIF animation:
- Animation Factory - 12,000 Original Animations for use on web pages and in e-mail!
- Andy's Art - The site contains 1000's of images that you can download and use on your site.
- A-1 Icon Archive - A site with access to over 300,000 free clipart images such as animated gifs, icons, backgrounds, bullets, clip art, and pictures; all free for you to download.
- Free Graphics - Featuring the Internet's top 508 graphic links!
Trick When Creating Transparent GIFs
Sometimes, you have to create a graphic using anti-aliasing or another method--like glows, feathers, or drop shadows--to make its appearance look soft. Doing this, the image looks soft because the edge of image is blended with the background. You have to be careful when making the image transparent because the edge of the image has some parts of the original background surface attached. Please look at the examples below.Both images are transparent GIFs that were created using the anti-aliasing method, which makes the edge of image look soft. The difference is the first image was created on a white background and has been made transparent, but the second image was created on a black background and has been made transparent. Both images were put here on a white background, so you can see the black color come along with the second image.
To avoid this problem, remember to create your transparent GIFs on a background color that is the same or close to your web page background color.
If you do not use anti-aliasing, your image may not look nice, but there is no effect when making it transparent. The image below on the left was created on a gray background, and the image on the right was created on a white background. Both show no difference when put on a white background.
Graphic Tools page is another page on this site that has the list of the applications that can produce transparent GIFs.
No comments:
Post a Comment