Simple clear advice in plain English

Hands on: Compress images without losing quality

Minimise the destructive potential of saving your images as JPEGs

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.

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Serif Photoplus X5

Serif Photoplus X5: photo-editing software

Serif’s image editor adds organiser and project templates

Make your own animations illustration

Create a stop-motion cartoon

Stop-motion animation can unleash your inner Nick Park. We show you how to bring static objects to life by making your own Wallace and Gromit-style video

f-340-hifi-spotify

Rip and save music in high-quality formats to listen to on your PC

How to keep the sound quality high using a lossless format

Question & Answer

Q.Why can't my browser find the website address I typed...

> Read the answer

Q.All updates have been downloaded, so why won't Windows...

> Read the answer

Q.How do I stop Windows 7 search?

> Read the answer

Best deals on the web

img

Apple iMac 21.5" (MC309)

£929.00- Buy it now

img

Dell Inspiron 620 ST Intel Core i3-2100 3.10GHz / 3GB / 500GB / DVDRW / Win 7 Home Premium

£299.00- Buy it now

img

Apple iMac 27" (MC813)

£1353.99- Buy it now

Great benefits for subscribers!

Poll

Which is your preferred web browser

Jargon Buster

Computing terms explained in plain English

Restore point

A Windows backup of system files and settings.

Great shopping deals from Computeractive