Michael MartineDo You Know Your Web Images? A Primer for the Beginner

In blogging, you need to a little about a lot. Take images in your blog posts, for example: there’s definitely a learning curve. Novice bloggers often don’t take into account how little they know about digital images.

Image File Types

There are three main image file types: GIFs, JPEGs, and PNGs.

GIF stands for Graphic Interchange Format. Its file extension is .gif. It’s pronounced like a word, with either a hard or soft “G”. GIFs can only hold 256 colors, which makes them lousy for detailed photos but excellent for logos and line art. GIFs can have a transparent background and they may be animated. You can create GIFs in image-editing software like Adobe Photoshop, Adobe Illustrator, GIMP, and others.

JPEG stands for Joint Photographic Experts Group. Its file extension is .jpg. It’s pronounced like Jay-peg. JPEGs hold 16 million colors, making them ideal for digital photographs. In fact, most digital camera images are JPEGs. You can edit JPEGs in Adobe Photoshop, GIMP, Google Picasa, and many other software programs and even some online services like Splashup and Flickr’s Piknik.

PNG stands for Portable Network Graphic. Its file extension is .png. It’s pronounced ping. PNGs are ideal for a couple reasons, but they also have drawbacks. PNGs support millions of colors like JPEGs, but they also support transparency, like GIFs. In fact, they even do GIFs one better by offering partial transparency. GIFs only offer full transparency as a substitution for a single color. That may sound wonderful, but hold on. PNGs are often larger file sizes, which is always a concern on the web, because larger files take longer to download and display in a web page. Also, Microsoft Internet Explorer 6 cannot properly render transparency in PNGs. Internet Explorer 7, Firefox, Opera, and Safari have no trouble with PNGs. You can create PNGs in Adobe Photoshop, Adobe Illustrator, GIMP, and other programs.

Image Optimization

You can’t just slap that full-sized picture from your digital camera into a blog post. Well, you could, but it’s not a good idea, is what I’m saying. You need to optimize it first. Optimization reduces the physical dimensions and also the file size of pictures so they’re appropriate for web pages.

Optimizing JPEGs

In JPEGs, detail is removed in 8-pixel blocks within the image. If overdone, this produces “artifacts” in the image that look pixelated and distorted.

Normal JPEG:
heathermike.jpg

Over-optimized JPEG:
heathermike-overop.jpg

Optimizing GIFs

GIFs are optimized by removing some of their colors. For example, by going from 256 colors to 128, the smooth gradient is lost in this picture. It looks striped:
gif-sample.gif

If we severely over-optimize it, it looks like this:
gif-sample2.gif

And remember, GIFs can be animated. This one’s just for fun:
dancing_bear.gif

Optimizing PNGs

There’s really not much you can do with PNGs other than say whether or not they have transparency and then set them for 24-bit or 8-bit. This is partly why they’re hard to optimize into small file sizes.

To PNG or not to PNG? Fewer and fewer people are using Internet Explorer 6, making PNGs a more appealing option. However, remember that they’re often still larger files than JPEGs or GIFs.

All the images in this post were edited in Photoshop.

Michael Martine Written by Michael Martine from Michael Martine
Posted on January 31st, 2008 and filed under Blogging
Do not forget to subscribe to our RSS feed for updates
  • Digg This Post
  • Tweet This Post
  • Stumble This Post
  • Submit This Post To Delicious
  • Submit This Post To Reddit
  • Submit This Post To Mixx
  • BloggingTips Uses Aweber

3 Responses to “Do You Know Your Web Images? A Primer for the Beginner”

Author comments are in a darker gray color for you to easily identify the posts author in the comments

  1. Great article on the basics of image manipulation for the web. I’m amazed by even in this age of digital imaging and almost everyone having a digital camera. How few people even realize the number of different image types there are.

  2. @Sam – Thanks! Yes, a little basic know-how goes a long way. You can use a free program like Google Picasa to learn some basics. There is also Photoshop Elements, a “lite” version of Photoshop (I think it has fewer calories, or something).

Trackbacks

  1. [...] like to use relevant and nice pictures with my blog posts. Here is a primer on web images on bloggingtips. Images play an integral part of the content of my blog. When you do use them, it helps to have [...]

Comments are closed.

Comments are closed since this post is older than 30 days. However, you can continue this discussion in our popular Blogging Forums

Subscribe To BloggingTips Via RSS Subscribe To Blogging Tips Via Email Follow Us On Twitter Follow us on Facebook Find Out More About Our Newsletter

Sponsors

Blogging Tips Newsletter

Webmaster Corner

 

Our Free E-Books

Site Partners