|
|
Graphics for the web: JPG and PNG Files
JPEG (Joint Photographic Experts Group) is a very efficient, true-color,compressed image format. It uses lossy compression, which means that bitsare removed from the image in order to save space. JPEG files supportmillions of colors (compared with the 256 for GIF).The JPG format is best for images with gradients, blends, and inconsistentcolor variations such as photographs or paintings. Images which have wellseparated tones should be saved in the GIF or PNG format. For example, ifyou include text in your image, you will notice a definite fuzzing of thecharacters when you view it.You have several options when optimizing JPG images. JPG is a lossy format(which means it throws away bits), so with each generation of the image yousave you will loose information, and that will degrade the quality of theimage.Any good image editor (Photoshop, Paint Shop Pro and others) will allow youto specify a compression percentage when you save the file. Before youpurchase a graphics editor make sure it has a preview pane on the save soyou can see what the compressed image looks like when you save it. This is alot easier than saving a copy, examining it, resaving it and so on.JPEG supports a concept similar to interlacing in GIF which is calledprogressive JPEG. This simply means that a rough image is displayedinitially, followed by more and more detail as additional bits of the imageare received. This is good for displaying large images. Unfortunately,progressive JPEG is a relatively new standard and is not supported by allbrowsers. PNGThere is a new format which is threatening the supremacy of GIF and JPEG.That format is called PNG (Portable Network Graphics). PNG, like GIF, supports lossless compression. This means that unlike JPEG,bits of the image are not lost or thrown away when the image isdecompressed. This compression scheme is public domain and improved over thealgorithm used by GIF.Images in the PNG format may be made partially transparent. This isnecessary for displaying good looking graphics on a web page.Finally, PNG supports color depth of 24 bits or greater. This makes it amuch better format than GIF for images which must have lots of colors.An important thing to remember about the PNG format is that the color palletis contained within the image. Thus, its important that the pallet be madeas small as possible, containing only the colors that are necessary todisplay the image. Most graphics programs should handle this detail for youwhen the file is saved.Note that JPG is still superior for large images because its compressionscheme is better suited for that purpose.In addition, the PNG design does not include support for animation. Thus,GIFs must still be used for that purpose.Most of the modern graphics editors support output in the PNG format. Theseeditors include Paint Shop Pro, which is my personal favorite.Personally, I think its a little early to go and replace all of yourgraphics with PNG graphics. Support within the different browsers is stillvery new, and you would be depriving many of your visitors of your graphicsby including PNG images. However, in a few years I expect to see this formatmore and more. About the Author Richard Lowe Jr. is the webmaster of Internet Tips And Secrets. Thiswebsite includes over 1,000 free articles to improve your internetprofits, enjoyment and knowledge.Web Site Address: http://www.internet-tips.netWeekly newsletter: http://www.internet-tips.net/joinlist.htmDaily Tips: mailto:internet-tips@GetResponse.com
|
|
Web Development |
Most Popular Articles |
|
|
|
Random Article 1 |
Random Article 2 |
- Checklist For A Successful Web Site Design
Designing a Web site can be a time consuming and often complicated task. Even if you have a general idea or a vision for your site, there are many details that will need your attention before the project is completed. How in the world do you keep up with it all?We suggest that you start a journal th
|
- Why You Need A Domain Name
On the World Wide Web your domain name is your own unique identity. No two parties can ever hold the same domain name simultaneously; therefore your Internet identity is totally unique. If you have a business site on the Internet your domain name is your own online brand and in a sense you can use y
|
Random Article 3 |
Random Article 4 |
- How to Use Pop Ups Without Annoying Your Visitors
At the risk of losing you before we even get started, Im going to say a "dirty" word: Pop Up (as in Windows).If youre like me, youve been popped more times thana firecracker on the 4th of July...but thats no reason to click away in disgust.There is a method of using pop ups that wont annoy yourwebsi
|
- Basic Graphic Design
by: Kelly Paal Wether you design your business brochures, flyers, web page, or ads there are some things that you need to know. There are some principles that those of us trained in the commercial art/graphic design field dont always share. Heres a short list of elements of graphic d
|
|