Exploring Graphics File Types like GIF and PNG

an article added by: Gene Grant at 09182008


In: Root » Internet and online » Web design tips » Exploring Graphics File Types like GIF and PNG

French Spanish Portuguese Italian German Japanese Chinese Korean Russian Arabic

Exploring Graphics File Types

As you learned in article 6, three graphics file types are in common use on the World Wide Web:

- GIF (Graphics Interchange Format)

- JPEG (Joint Photographic Experts Group)

- PNG (Portable Network Graphics)

Each provides its own advantages and disadvantages. With each file type, you must consider, of course, some technical details, but there are also some legal pitfalls to watch out for. article 6 provides more details on these graphics formats.

GIF

GIF, the old standard, is a lossless file format, meaning that every single pixel in the image is always preserved when it is saved. There are tradeoffs with every method of saving images, and the drawbacks to GIFs are a fairly large file size for photographs and that the format is limited to a paltry 256 colors. Nonetheless, even though the GIF file format is pretty old, it remains one of the most common ones. Part of the reason for this, other than plain old inertia (it’s supported by every graphics program), is that GIF provides a fast and easy method of adding animation to a Web site, and it is ideal for compressing text and solid shape, low-color images.

Back in 1989, the GIF format was beefed up to include the capability to hold more than one image in a single file, and to display those images in sequence. Voil`a instant cartoons. Although each new image in the file added to the size of the file, of course, it was still the smallest kind of animation file.

GIF leads to PNG

GIF may have inadvertently been the father of PNG. In brief, the compression algorithm for GIF was patented in 1983. This compression algorithm was named after its three co-inventors Zev, Lempel, and Wallace (LZW) The rights to this patent were granted to Unisys. It was a wildly popular compression technology and CompuServe chose it as their compression algorithm for their implementation of GIF (in 1987 and a revised version in 1989). In 1993, Unisys sought to enforce its legal rights by licensing agreements with several large commercial information service companies (such as CompuServe) at very reasonable rates. In addition, it was offered free for private and nonprofit organizations. Nonetheless, something of a grassroots rebellion began among Web developers who sought to develop and implement alternatives to GIF. This reaction against GIF (although not very successful) and the unjustified image of Unisys as a corporate bully going after the little guy did much to propel the subsequent growth of PNG.

JPEG

The JPEG format (commonly seen with the .JPG file extension) was an improvement in many ways over the GIF file format. In most cases, it allows for much smaller file sizes. The tradeoff is that there is some degree of information loss. However, JPEG images are generally much more than merely satisfactory, and the ‘‘loss’’ in most cases is only apparent in a mathematical formula.

To the naked eye, the lossy image is as good as the original in almost every case. PNG

One of the results of some legal difficulties with GIF licensing was the creation of a competing file format totally free of all legal complications. The PNG format was designed specifically to replace GIF images by a group of people who wanted to free the World Wide Web of the licensing problem. While PNG files, in general, are competitive with GIFs, they do lack one major attribute you cannot do animation with PNGs. However, a newer version known as Multiple Network Graphics (MNG) files is in the works that will include a GIF-like capability to include several images in a single file and play them back sequentially.

Comparing the three

JPG has compression and 16.7 million colors. GIF 89a has animation, transparency, and interweaving. It does not have compression but can be made to seem compressed by deleting certain colors from the image before transfer across Internet. PNG provides the best of both worlds in that it has everything GIF has and more specifically multiple transparencies and the old JPG standby, compression. The only drawback to PNG is that it is not well supported by older browsers.

Choosing Image-Editing Tools

Unless you’re going to totally abandon all pretense of having anything to do with Web page graphics and hand all that mysterious stuff over to someone else, you need to have some notion of what needs to be done to make your Web pages work. Even if you don’t ever touch an image yourself, you’d better be aware of what is going on under the hood so that you have an idea of what can and can’t be done. It is impossible to do more than scratch the surface of such a complex topic in a single article. Thus, this is an overview. There are three graphics programs that anyone seriously interested in Web design should be familiar with Adobe Photoshop and Adobe Fireworks, Corel Suite (which includes Corel Painter and Corel Paint Shop Pro), the GNU Image Manipulation Program (GIMP), and an impressively fast graphics design suite, Xara Extreme. At least one of these (and perhaps all of them) belongs in your Web page creation toolkit. article 2 provides more details on Adobe’s Creative Suite 3 (CS3), which includes Photoshop and Fireworks.

Photoshop

Adobe Photoshop is the old, venerable workhorse of the graphics industry, familiar to every serious digital artist. Adobe Photoshop is important, not only because it has long been the industry standard but also because of the features it lacks features that can be extended with plug-ins. When you get right down to it, all of the major graphics programs are fairly similar, and the choice of one over the other is largely a personal matter of user comfort. When it comes to adding features, however, you need to pay attention to whether or not the program you’re using can handle Photoshop-compatible plug-ins. All four of the paint programs discussed here can handle these plug-ins.

Fireworks

Adobe Fireworks is one of the most impressive programs we’ve ever used. It is similar to Photoshop in layout and function. Fireworks, however, is a child of the Web, and was deliberately designed for the purpose of making graphics for Web pages, rather than having such functionality tacked on as an afterthought. It was planned to be used in concert with its companion program, Dreamweaver, the premier Web page-creation tool, but it is also a perfect standalone graphics program.

legal disclaimer

Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.

related articles

1. How to promote a webiste
Obviously, you want your Web site to be more popular than Britney Spears and it can be, if you promote it well. Search engines, such as Yahoo!, Lycos, Google, and the rest of them, are always scouring the Internet and recording information about Web pages. Individual search engines work a little differently: Some record information about every word on a Web page and some look only at titles and headings. The search engines store this information in giant databases. When you conduct a search of the Intern...

2. Image editing programs like Adobe Photoshop
Image-editing programs Following are some popular image-editing applications: - The trial edition of Adobe Photoshop CS3 This download is rated highly by users and ranked first in image-editing downloads with more than 8 million to date. This download requires site registration before use. There is also a shareware version available for Apple users. - PhotoImpact X3 This is a user-friendly image editor that actually has most of the editing tools that most people would need and use f...

3. Ilustrator Flash Professional Photoshop Extended and Fireworks
Illustrator The Illustrator application allows the user to efficiently create vector graphics, and then seamlessly use the result with other applications included in CS3. The developer can prepare content for Web, mobile, and print media. The interface of the CS3 version has been modified to provide more efficient utilization of the workspace. For example, the Tools palette has been streamlined from two columns to one that docks inconspicuously along the borders of the screen. Simultaneously, more ...

4. Adobe Creative Suite 3 Photoshop and Dreamweaver
Adobe Creative Suite 3 Photoshop and Dreamweaver The purpose of this article is to provide a brief look at some of the tools available for use in Web site design, and point you to where there is more in-depth coverage of each technology highlighted in later articles. For readers working within the constraints of a variety of budgets, this article describes a range of image-editing tools that are available on the Web either as freeware, shareware, or trial versions of c...

5. How to design a web site for the mobile web
Designing for the Mobile Web There are more than 50 companies producing mobile telephones in significant and marketable quantities. By 2009, projections indicate there will be 3 billion mobile phone users worldwide. The market for the delivery of Web content to these mobile device users dwarfs the market for desktops. There is theoretically unlimited potential for expansion of the Web (or Web 2.0) into these devices, and we are now on the cutting edge of Web site design for Mobile Web (or the ‘‘Ubi...

6. Origins of the Internet and How a router routes
Origins of the Internet One of the first ideas to get out of your mind (if it is there) is that the Internet is a monolithic creation that came about at a single point in time and at a single location. The Internet is a conglomerate of overlapping and mutually reinforcing technologies from computer science, data storage and retrieval sciences (the once lowly data processing), and communications that have been developed (and are still being developed) over the past half century. From inception in the Depart...

7. Evolution of Ethernet and Public emergence of the Internet
Evolution of Ethernet In the early 1970s, ARPANET continued to be incrementally developed and, by 1973, evolved to include 30 institutions in its network. That same year, e-mail was developed to run over the existing ARPANET system by Ray Tomlison of BBN (the same company that initially developed IMP). Also in the early 1970s, application protocols such as File Transfer Protocol (FTP), Telnet, and Simple Mail Transfer Protocol (SMTP) were being developed and tested by being run over ARPANET. These ...

8. Development and Evolution of HTML
Development and Evolution of HTML You might try a fun little experiment to see how pervasive Web pages have become. Pick any dictionary. Pick any word, even at random. Type it in your search engine. You will very, very, very likely find a Web site devoted to that word. The Internet is not synonymous with the World Wide Web, but the Internet drove it, and then it drove the Internet as use synergistically increased the demand for network bandwidth, servers, software technologies, and hardware. The mantra for the 19...