Image: Tractor section
Despite saving a TIFF of a tractor section 100 times with high-quality JPEG compression, there was no discernible difference
R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands on: Compress images without losing quality

Minimise the destructive potential of saving your images as JPEGs

Ken McMahon, Personal Computer World 14 Jan 2009
ADVERTISEMENT

Reader Tony Renshaw emailed wanting to know more about the destructive potential of JPEG compression. He has scanned a large quantity of slides that have been saved as JPEGs and wants to add keyword tags and other metadata to the images.

However, he is concerned that doing this will result in resaving and recompressing of the image data.

Tony doesn’t have anything to worry about; applications that allow you to add and edit metadata in JPEG files only write to the Exif data fields in the file header and don’t affect the actual image data itself.

Not all data may even be written to the file itself –­ ratings and, depending on the application, other metadata may be stored in a separate database.

Adding and editing metadata aren’t the only operations you can carry out on a JPEG file without recompressing the image data. Some applications will allow you to losslessly rotate and flip image files.

In certain circumstances you can even crop JPEG files losslessly, (the top left point of the crop must lie on an 8x8 pixel block boundary –­ see ‘How JPEG works’, below), but not many image-editing applications support this. One that does is Irfanview.

The second part of Tony’s question concerns the amount of degradation involved in JPEG compression, particularly when files are saved multiple times. Although he doesn’t need to worry about this if he’s only editing metadata, it’s an interesting question because it’s good to know what the consequences are for the quality of your images.

Working formats
The first thing to say is that if you’re intending to do a lot of editing on a JPEG file it makes sense to first save it in an uncompressed or lossless compressed format such as Photoshop PSD, TIFF, or PNG.

Then you can save it as many times as you like without having to worry about quality loss, before saving the final output file as a JPEG.


All Software Applications
Tags: Hands-on, Digital-imaging

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
| Computer People
SQL Server 2008 Developer – Staffordshire – Market Rate – 3 - 6 month initial role Computer People have an exciting opportunity for a SQL Server 2008 Developer within an Large organisation based in Staffordshire. ... more >
| Aston Carter
JAVA J2SE DEVELOPER – CREDIT DERIVATIVES amp; Credit Derivatives (CDS, CDO, CDX, IRD, IRS), Exotics and Structured Hybrid products. Technical skills include: Server side Java, SQL, Sybase, SOAP, WEB SERVICE and OOA/D. Nice to have ... more >
| Aston Carter
JAVA J2SE DEVELOPER – CREDIT DERIVATIVES amp; Credit Derivatives (CDS, CDO, CDX, IRD, IRS), Exotics and Structured Hybrid products. Technical skills include: Server side Java, SQL, Sybase, SOAP, WEB SERVICE and OOA/D. Nice to have ... more >
| Aston Carter
Java, C++, SQL Analyst Developer – Interest Rate Risk Java, C++, SQL, Analyst Developer, interest rate, risk, credit risk, market risk, perl, scripting • At least 2-5 years experience developing in C++ and Java • ... more >
More job opportunities