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:
- Minimize the screen size of your graphics to the point where it is still clear and suggestive.
- 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.
- Use vector graphics software and limit the number of colors when you create the non-photographic graphics for your website.
- Put emphasis on shape, contour, silhouette and contrast when creating / processing your graphics.
- 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/
|  |  |  | RELATED ARTICLES Web usability: The basics What is web usability & why is it important Mysterious Tel Aviv Lifestyle 2004 Israel. What do you think when your first hear this word Right, like most people you imagine what you probably saw on CNN or NBC. Blown up buses, Suicide Bombers, Military Operations, Outright Violence all over the place. Color Psychology for webpages Colour is an aspect of a website that is often picked haphazardly and without any thought from a beginner web designer. The lesser known quality of the colour of a website is that it can greatly affect the mood of your visitors. It is because of this that a websites colours need to be picked carefully. How Video Can Be Used Effectively Online A powerful way to convey your communication messages to your audience is to be able to have your promotional video available on your website. Linking out is good Many websites I come across dont have a single link to another website. Ask the webmaster why not, and the answer you get is simple enough: "If I link to other websites people might leave my site." At this point I break the news that site visitors will leave your site. And theres nothing you can do about this. Website Design Basic Concepts So, whats in a website design anyway And, how do you get a design that is appealing to the broad and varied tastes of all those Internet surfers out there Text Is King! Are you building your website If so, STOP! Take a look at what you have done so far. How many images do you have How much text do you have How Disabled Users Access The Internet In 1995 a new era of accessibility for disabled people began. The Disability Discrimination Act was passed, stating that: Tried and Tested Tips to Improve your Website - Part 1 1. DO NOT use excessive graphics or banner images on a single web page. They tend to slow the loading of your Web page. Impatient surfers might close their browser and move on. If you have many images on a single page, consider deleting few of them or moving them to a new page. Basic Design Principles Part 2 Tone and Texture Why You Need A Web Site "I have a small business with just a couple of employees and I dont think my product can really be sold online. Do I need a web site" 8 Steps to Design a Surfer Friendly Website That Search Engines Love! 1 Crystal Clear Source Code HTML/CSS 10 Indirect Ways To Get To The Top Of Search Engines There are millions of web sites trying to get listed in the top 20 spots of the major search engines. That amounts to an awful lot of competition and even after spending hours and hours on Search Engine Optimization techniques you may still not be able to achieve a high ranking for your competitive keywords! Tips to Protect Your Downloads or Products 1. Upload robots.txt file in to your root directory and include the folder name where you set your downloads. Do You Really Need A Website Having a website is the one form of marketing your business that just keeps on giving! But how do you know if you need a website Flash Deadly Sins that can kill your web business Looks like every client wants a Flash site these days but the reality is...as flashy as these sites may look, there are many negatives you may want to consider before delving into Flash. 7 Key Points to Consider When Choosing a Web Host With literally thousands of web hosting companies in the industry all vieing for your business, carefully consider these key points to ensure you make the most well informed decision possible. Basic Graphic Design Wether you design your business brochures, flyers, web page, or ads there are some things that you need to know. There are some basic graphic design principles that those of us trained in the commercial art/graphic design field dont always share. Heres a short list of elements of graphic design that you can use today. Website Checklist 10 Basic Things Your Website Should Have ... 10 helpful tips to follow when switching web hosts Youve made your decision to move from your website from your current web host to a new web host. The following tips will help you make the transition easier and make you aware of some potential pitfalls to avoid.
 |