Search This Blog

What is a JPEG Artifact?

Example of jpeg artifactsArtifacts aren't just things that archaeologists dig up; they also show up in jpeg files.

The jpeg file format was developed as a compressed image format in the "bad-old-days" to save space on expensive hard drives and for display on the web. Just think back to the early days of the Internet when we all had slow dial-up connections that delivered email not much faster than snail mail, to the sound of "You've got mail". In those pre-broadband days, the emphasis was on small file size. Ta dah! JPEG and file compression to the rescue.

The JPEG format is called a "lossy" file format. The opposite of "lossy" is "lossless". Lossy is one of those geeky words that get made up to make long expressions short. Basically it refers to the fact that you will lose data when the lossy file-type is compressed.

Just when does a "lossy" file get compressed? Answer: When you save it.

So if you take photos in jpeg, or convert another image format, such as tiff, to jpeg by doing a "Save As jpeg", you are compressing the file each time you save it. Just what does compression do? Well it samples the pixels that are next to each other and if the surrounding pixels are the same or close to the same in their image information, the small amounts of data that make up the differences are thrown away and substituted with one piece of information for all of the pixels that formerly each had slightly different information. The outcome is a smaller or "compressed" file.

None of this is noticeable to the eye when you have saved the file only once, but when you compress the file multiple times by saving it over and over as you work on it, you are on the way to turning your beautiful photo into a Roman ruin or a broken Grecian urn. Each time you save the file, a little more image information is discarded until you get to the point where you end up with mere "artifacts". All that is left is for you to read some Keats and dream of beauty that once was.

Just like in archaeology, an artifact is a remnant of a larger whole that once existed intact. So jpeg artifacts are what remains of your original pixel information before you threw away much of that information each time you saved the file.

The example of jgeg artifacts that I have posted with this topic was once a photo of a cow I took on a trip to Mexico almost 10 years and three cameras ago. At the time I had just gotten my first version of Photoshop and was completely clueless. This could have been a great photo before I ruined it in my ignorance.

So stop saving your jpeg files over and over and keep an eye out for my next post which will go over some steps you can take to avoid jpeg artifacts in your images.

Gallery of examples for the "What is...?" series


Subscribe by email Your subscription will begin only after you activate it by responding to the email you will receive from "FeedBurner Email Subscriptions" immediately after submitting this request. If you do not see the email within the next minute, please check your spam folder.

Comments

Samoan Youth

This young man was preparing with his friends for his moment of fame on the stage at the Samoan Village at the Polynesian dance festival called Pasifika in Auckland in March this year. Samoan Youth Canon EOS 20D 1/30sec at f/20 ISO 200 Canon 70-300mm lens at 300mm

Before and After: Two Joshua Tree Photographs, Two Painterly Reworkings

I want to try something a little different in this post — a working walk-through of how two of my Joshua Tree photographs from April of 2011 became two of my newest painterly artworks on Redbubble. Same compositions, same landscape, same afternoon in the Mojave. Very different final pieces. The Raw Photographs Both photographs were taken on a single afternoon trip to Joshua Tree National Park, shot in Canon raw (.CR2) format on my Canon EOS. Raw files are, as any photographer knows, deliberately flat — they carry the maximum amount of information the sensor recorded, without any of the punchy contrast, saturation, or sharpening that a JPEG would apply automatically in-camera. That flatness is a feature: it gives the photographer the widest possible latitude to make choices in post-processing. But it also means a raw file, straight out of the camera, doesn't look like the scene the eye remembers. It looks like the scene the sensor saw, drained of atmosphere. Here are the two r...

Young at Heart: The Active Seniors Collection + Massive Redbubble Sale!

Ollie Grandpa Stepping into the freedom of retirement after a long, 45-year career completely shifts your perspective. You finally have the time to let loose, hit the road, and truly embrace the fun side of life! That joyful, unrestrained energy is exactly what I wanted to capture in my newest Redbubble collection. I'm so excited to introduce my new " Active Seniors " series, featuring designs that perfectly embody the "young at heart" spirit. The series features a vibrant, adventurous little old lady tearing it up, and a matching active grandpa catching some serious air on a skateboard or cruising on a bright orange motor scooter. Complete with flower-adorned helmets, flying striped scarves, and big, beaming smiles, these characters are a tribute to everyone who refuses to slow down. These make fantastic graphic tees, travel mugs, or stickers for your own "Fa...