The Smallest Is The Best!.. As Long As It Serves Its Purpose.


Decebal Scraba

It is true! In graphics optimization, seen as a part of website optimization, the smallest is the best. Of course, the element in question should still serve its purpose of being the expression of an idea. Furthermore, it should be understandable, clear, suggestive and good-looking. Lets see together which could be the right choices in terms of web graphics optimization when we decide what type of graphics we’ll use on a website.

What kinds of web graphics are present on the Internet

When it comes to their origin, there are two types of graphic digital files: vector graphics created with software tools like Corel DrawTM , FreehandTM etc. and raster graphics photographs, 3D renders and any other type of bitmap files. Most of the web sites on the World Wide Web hold as graphic elements bitmap-type graphics in three different formats: GIF standing for Graphics Interchange Format, JPEG Joint Photographic Experts Group and PNG Portable Network Graphics. All these 3 types use different compression algoritms to considerably reduce the size of the graphic file. Because PNG is not so popular, I hope that you will forgive me if I stick to GIF and JEG in my article. Probably you already know a lot about these or you can browse the web and find plenty of information so I’ll get directly to the choices we must make when it comes to design our web site.

How many colors should we use for our web graphics

What type of bitmap files will hold our web graphics

Some specialists say that we should always go with JPEG, because it supports 16 milion colors and produces quite small files. Well, this is not entirely true, I think. I can only tell you for sure that we don’t have to go with the same type all over our website. How’s that Let’s see!

When should we go with GIF

  • for graphics with fewer colors: web logos, cartoon-like drawings and line-art pure black and white drawings; whenever it is OK to use for our graphics the 256 colors pallette or even the 216 “safe” colors pallette
  • for grayscale pictures with less halftones with big contrast
  • for graphics with smaller screen size even if with many colors which rely on details; GIF format compression is lossless and keeps sharp contours and clear definition between areas filled with different colors;
  • when we need the “Transparency” option of GIF Format, e.g. when a graphic should have a non-rectangular shape and/or we want to discard its background
  • whenever an image saved in GIF format is smaller than one saved as JPEG, both images being at a comparable level of quality when displayed
  • generally, for vector-generated graphics unless they have blending and/or gradient fills

When to use JPEG format

  • for color images with 16 milion colors and many halftones photographs, 3D render output files, any other images with continuous-tones
  • for grayscale images which rely on subtle halftones
  • for graphics/images with big screen size where colors and shades are more important than contours, outlines and boundaries
  • whenever an image saved in JPEG format is smaller than one saved as GIF, both images being at a comparable level of quality when displayed
  • generally, for photographs and similar images

Which are the inconveniences of each format

From my point of view, these are the main limitations for GIF and for JPEG formats:

For GIF: limited number of colors it can show 16 milion colors, but only in dithered mode, which I do not recommend

For JPEG: compression is done by reducing quality of the graphics loss of sharpness, “hair filaments”, “pixelate” areas etc.

Whatever format you choose, when it comes to graphics optimization as a part of website optimization, the SMALLEST is the BEST! Beside the format choice, keep in mind some tips when you create and optimize your web graphics:

  1. Minimize the screen size of your graphics to the point where it is still clear and suggestive.
  2. Try and try again saving a graphic in one of the two formats, at different quality levels for JPEG and different number of colors for GIF. Do this until you find the best size / quality ratio that fits your needs.
  3. Use vector graphics software and limit the number of colors when you create the non-photographic graphics for your website.
  4. Put emphasis on shape, contour, silhouette and contrast when creating / processing your graphics.
  5. Choose carefully the resizing method in your image processor when you change the size / resolution of your graphics - “anti-alias” is not always the best choice.

I hope that this article will help you in your work and always keep in mind that, when it comes to graphics optimization and website optimization, the smallest is the best - as long as it serves its purpose.

Decebal Dudi Scraba
http://ewolwe.com/





About The Author

Copyright 2005 Decebal Dudi Scraba
Graphic Designer since 1994, Web Designer and Website Optimization Specialist
http://www.ewolwe.com/
contact@e-mail.com



To provide some examples of web design and development I give you here:

10 latest blog posts by Web Developer Jim Westergren

I’m an SEO and I have been working a lot with WordPress, here I give you all my tips for you to rank very well in Google with your blog. UPDATE: Check this blog post for a better guide. Quick Facts There are 55 million blogs out there, if you don’t stand out you will have no chance. The [...]

Update, March 9th I have now changed it again and put some color into it. What do you guys think? Sunday today and I was away from work with clients so I decided to work with my blog today from home. I made a new design for this site. Check out the navigation links at the top left [...]

This article is written for my friend “honey” (site). I have been bidding against honey on web site auctions for almost 2 years now. I have won maybe 60 auctions and I have now over 100 web sites. Honey owns over 300 … So here comes my checklist that I want to show honey as I [...]

Have you also heard of those horror stories of Google banning Adsense accounts for the smallest mistakes? You have read the Terms and Conditions and you know the basics but what do you do when you show your friend your site on your computer and the first thing he does is to click the Adsense ad [...]

This article is written more for myself so I remember how I do it the next time but probably a few people will also benefit from this for different uses and purposes. Today I updated all the PR values for the directories listed on my directory list. I had to update each listing in the MySQL [...]

Official site of a children’s hospital in Japan Hey, your “logo” is not blinking! MSY Technology Pty. Ltd. Are you sure product X is HOT? Personal site of Franz Magnus Incredible that you got several awards for that site. Angren.net, electronic shop Can’t you squeeze in something more on the home page? Official site of Northbridge Police Department Still being updated in 2006. Perhaps [...]

The last days I have been fighting in the war against the latest spam bot soldiers like a maniac. I own and manage over 70 web sites. This includes different forums, directories, blogs, topsites, article submission sites and you name it. Very recently there is a new wave of spam. The default captcha for vBulletin is now [...]

This is a WordPress plugin that will give you more links and higher rankings in the search engines. Most bloggers knows the importance of getting links in order to get high rankings in search engines. But did you know that the best links are those that are natural recommendations? Additionally I experienced better rankings across all [...]

To improve the navigation of your users as well as search engine traffic and ranking to your WordPress blog I suggest making a good site map of your posts - a map of your site. A kind of user friendly archive of your posts. This is not “Google sitemap”! The benefits: The user can quickly find a [...]

How I rank on different keywords and links to the different SE queries.

home | site map

Articles



Ringtones | Ringtones | 0 Credit Cards | Internet Advertising | Xecuter 3 Mod Chip