Why to Use PNG Images in Your Web Design

The PNG image file format is not new to the web. Itthe image with a faded drop shadow, making the task
originally developed in the mid-90s as a solution to thequick, simple and dynamic. PNGs make the look and
shortcomings of the traditional GIF image file format.feel of your page flexible.
However, because early browser applications offeredThey Look Great! (Lossless Compression ):
only spotty support for the PNG's advanced features,Every time a JPEG is saved and compressed, it loses
web designers, developers were limited in its use.some of the original file's information and the image
One large hurdle in particular faced by PNG's wasquality degrades. The GIF file format offers lossless
Microsoft Internet Explorer (IE). Far and away the mostcompression (so the file can be saved and resaved
popular browser, IE offered particularly poor supportwithout losing image quality), but it only supports a
for the file format. However, with the release of IE 7limited 256 color palette, making it useless for full-color
as well as several JavaScript hacks, this has allphotography and other such complex images.
changed, and PNGs are more popular than ever.PNG offers the best of both worlds. It displays full
But who cares!? And besides being one letter short ofcolor photographic images, like the JPEG, but it also
my favorite 1972 video game, what makes a PNG sosupports a managed color palette, like the GIF format.
great? Below, are three reasons why PNGs are theWhile the PNG will typically have a larger file size than
best image format since the Polaroid.the JPEG for photographic images, it does have a
They're See-Through! (Alpha Transparency):distinct advantage: its compression is lossless, meaning
As compared to the GIF, PNG offers a far less basicimages never degrade in quality or suffer from
form of transparency. With GIFs, a particular color (or"compression artifacting" which affects many JPEG
colors) is able to be saved as transparent, leavingimages.
colors either entirely opaque or transparent. There isThe results are crisper, brighter images that will "pop"
no in-between.on your pages unlike ever before.
PNGs have a distinct advantage in this area. The PNGThey're Self Optimizing! (Gamma Correction ):
file format supports "semi-transparent pixels," meaningAdjusting the brightness and contrast of images to
a PNG can be saved with a soft drop shadow andlook correct on a wide variety of monitors and
floated over any background. It can be used as aoperating systems is a common problem facing web
watermark on a textured or gradiented background. Itdesigners. This problem is primarily related to different
can even be smoothly faded from fully opaque tomonitor Gamma settings.
transparent, revealing the web page contents beneath.Gamma is a method monitors use to distribute their
Summerour.net features a logo which demonstratesluminance evenly across the display. Unfortunately,
this function. The homepage layout called for a logodifferent operating systems (in particular the Mac and
with a soft drop shadow over a textured backgroundWindows) use different Gamma settings. So an image
of architectural sketches that regularly change. Using athat is color-corrected for the Macintosh operating
GIF or JPG would be highly impractical, because everysystem may look too dark on the Windows operating
time the image changed, the logo's background wouldsystem and vice-versa.
need to be edited. A PNG, however, is floated over