Search This Blog

jpeg Picture Processing

Back in July I wrote this post about jpg artifacts and promised that I would give some tips on handling jpg (jpeg) files to avoid artifacting. Just as a quick refresher, jpg artifacts result from the over-compression of jpg files to the point that pixel information is so degraded that you start to see large groups of square pixel shapes where once many pixels existed.

JPEG files are an image file format that is "lossy". This means it is a compressed file type with some of the original file information "lost". Jpg file types were invented to display images online in the early days of the "dial-up Internet" when we all used to wait (im)patiently for files to appear in our browser windows.

Example of jpge artifacts
The compression of a jpg file happens at the time you save the file. Initially you won't notice any apparent difference in the image, but save the file often enough, you eventually will end up with jpg artifacts, just like my cow example to the left. Yes, that was what I did in my early days as a naive Photoshop user.

So here are my easy steps to avoid jpeg artifacts.
  • If you are shooting your pictures as jpeg files, shoot at the highest quality possible for your camera in the first place. Most cameras have settings for file quality under their menu settings. With memory cards as big and cheap as they are today, there's no reason to shoot at anything but the highest quality jpeg file if you are shooting in jpeg. This will mean you are starting out in the first place with the most image information possible.

  • When you are ready to process your file , make your very first step that you take a conversion to a "lossless" file type such as tiff (.tif), or .psd if you use Photoshop. Depending on what image editing program you use, there may be a different file type other than psd, which is Photoshop's proprietary file type. All image editing programs probably offer tiff as an option, which is a standard/generic lossless image file. Lossless means what it says: there is no compression of the file when you save it, so no matter how many times you save the file, none of the image information is going to be lost. In fact, you may find it actually gets bigger as you process it.

  • Now do all your processing such as cropping, red-eye removal, whatever you do typically, with the lossless file that you have opted for.

  • When your picture is ready for prime time and sending to the printer or emailing or uploading and you want or need it to be a .jpg file once again, do one, and one only "Save as jpg". Never save that jpg file ever again.

  • Treat your lossless psd or tif file as an archive file, and if you subsequently want to tweak your picture some more, come back to that file. You can save it with a different name so that you have a new version. Once again, only save it as a jpg file at the very end of your processing.
Follow these easy steps in processing jpeg pictures and you should never be visited by the horrors of jpeg artifacts. Happy photo editing!

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

Do Not Disconnect - The Real Digital Divide

Ah, the ever-evolving landscape of technology and its impact on our lives. Remember when "The Digital Divide" was all the buzz? It highlighted the gap between those with access to the digital world and those without, particularly in terms of internet access. But let's delve deeper into the concept of the digital chasm. Beyond mere access lies a more nuanced divide: the one that separates us from our communities, our connections, and sometimes, even ourselves. Enter the era of personal devices — from the iconic Walkman to the sleek digital devices of today that we carry with us everywhere. Flashback to the late '70s and '80s, when the Sony Walkman and Discman reigned supreme. Revolutionary at the time, they offered a portal to our own private soundscapes, effectively isolating us from the world around. Fast forward to the present, and the scene hasn't changed much. If anything, it's intensified. Living in Southern California, I've felt the isolation imp...

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

Anza-Borrego Wildflowers

Anza Borrego Desert State Park California Wildflowers This cluster of wildflowers is typical of the flowers in Plum Canyon in Anza-Borrego Desert this spring. Because of the dry and harsh environment, most of the flowers are tiny like the three in this photo. But what they lack in size, they make up for in color. It's pretty difficult to try and identify all these flowers, but I'm pretty sure the white one is Desert Pincushion. Help out if you can. I've been using the CalFlora.org website to try and identify the flowers in this series.