PHOTOGRAPHY ON THE WEB
 

JPEG – QUALITY AND COMPRESSION
Another confusing area is that JPG files are compressed. In fact the whole benefit of JPG files and the reason for the format being invented was to enable photos to be compressed so they take a fraction of the file space the would otherwise require.  
 
The reason JPG format is better than GIF or PNG format is precisely because they compress much better in this format without losing quality. Most scanning software or digital cameras have a quality or compression control that varies the degree of compression. Too much compression and you lower the quality of the photo (but it makes your website quicker to view).  
 
You should try to create the smallest file size, which means the highest compression level that produces a photo quality that you can accept. It's not uncommon to find JPG photos that are far larger than necessary because they have not used the optimum compression level. This means a slow website. It's a balance between quality and speed, you want both, but unless your photos are really small you can't have both.

Quality 25%, file size 3.6 Kbytes

Quality 50%, file size 5.3 Kbytes

Golden Rule – Compress your photos as much as you can using the lowest quality setting that produces an acceptable photo quality.

Quality 75%, file size 8 Kbytes

Quality 100%, file size 32 Kbytes

Golden Rule – A JPG quality setting of 75% is typically the optimum balance between file size and photo quality. Never set JPG quality to 100% as this will always make unnecessarily large files.

Most photo processing software allows you to control the JPG quality. This is sometimes expressed as a quality level between 1 and 100% and sometimes as a compression level between 1 and 100. These two are usually the same scale but the opposite way round. So a quality level of 75% will be the same thing as a compression level of 25. And this number is nearly always the optimum number.

 

You might think 100% quality is what you want, but as you can see from the above examples, this is just wasteful and makes for unnecessarily slow download speeds. What's more there is typically no perceptible difference in the quality settings higher than 75%.

 

Hint: A quality setting of 75% doesn’t mean that the perceived visual quality is 75%. Typically 75% JPEG quality is indistinguishable from the original – this is why JPEG format is so effective.

CUMULATIVE DISTORTION
This is a result of applying a number of photo operations to the same photo, one after another. Because each time you load and save a JPG photo it distorts very slightly; the more often you do this the worse it gets. Worse, if you perform other operations such as rotating, brightening or even enlarging or reducing a photo this also distorts the image each time the operation is applied. The more you change the photo, the worse it gets.

ZyWeb

The solution is to use the original photo always whenever you want to change it - do not use one that you've already altered or changed. Secondly avoid loading an image, doing a few operations on it, then saving it, then loading it again to do some more.
 
Golden rule –  Always apply editing operations to the original photo and not to one that has already been processed or edited. Always keep a copy of the original just in case.

DESIGN GUIDLINES In addition to the rules regarding image size above, there are a couple of simple rules that will make your web pages look better.
 
Golden Rule - Try to make photos the same width when used on the same page, especially if they are in a row or column.