Vision & BeyondSince 1996

Scanned File Types Explained: TIFF, JPEG, PDF, PDF/A and Compression

In this article
  1. Two ideas to understand first
  2. The common file types
  3. What is the difference between PDF and PDF/A?
  4. Which compression should I use?
  5. What are master and access copies?
  6. Choosing a format by purpose
  7. What Australian archives recommend
  8. Common pitfalls
  9. Frequently asked questions
  10. Where to start

The file type you scan to affects how big the files are, how long they stay readable, how easily they can be shared and how much detail is kept. Choosing it after scanning has started usually means rescanning, so decide first.

Key points

  • Use a lossless or uncompressed master (usually TIFF or PDF/A) and a smaller access copy for everyday use.
  • A searchable PDF is the usual choice for sharing scanned documents. PDF/A is for long-term keeping, and must be checked to confirm it qualifies.
  • Lossy compression such as JPEG saves space but permanently loses detail, so keep it for viewing copies.
Diagram of the steps in choosing a scan file type: decide what the scans are for, choose a master format, choose an access format, set resolution and compression, add searchable text, and check and store both copies.
The steps in choosing a scan file type

This guide explains the common file types and what compression means, and shows what Australian archives recommend. It is general information, not legal advice. Requirements differ by organisation and type of record, so check which rules apply to you.

Two ideas to understand first

An image format and a document format are different things. A scanner produces a picture of each page. An image format, such as TIFF or JPEG, stores that picture. A document format, such as PDF, is a container that can hold one or many page images, and can also hold searchable text.

Compression makes files smaller. Without it, a large scan can be tens or hundreds of megabytes. There are two kinds:

  • Lossless compression shrinks the file and can restore every detail exactly, like zipping a document.
  • Lossy compression shrinks the file further by permanently throwing away detail the eye is least likely to miss. The loss cannot be undone, and it builds up if the file is saved again.

Most choices come down to these two ideas: what the file is for, and how much detail you can afford to lose.

The common file types

FormatWhat it isStrengthsWatch for
TIFFAn image format, one or many pagesKeeps full quality, widely used for master copies, can be uncompressed or losslessLarge files, and not convenient for sharing or viewing in a browser
JPEGA lossy image format for single imagesSmall files, suits photographsLoses detail, shows blur around text and fine lines, and one file per page
PNGA lossless image formatExact copy, good for graphics and screenshotsLarge for photographs, one page per file, less common for archives
JPEG 2000An image format that can be lossless or lossyGood quality for its size, used by libraries and archivesLess software support than TIFF or JPEG
PDFA document format that holds page images and textEasy to share, multi-page, can be searchableQuality depends on the settings used, and not all PDFs suit long-term keeping
PDF/AA restricted form of PDF made for long-term keepingSelf-contained, so it opens the same way in futureStricter rules, and a file must be checked to confirm it meets them

No single format is best for everything. Most organisations use one format for the master copy they keep, and another for the copies people use every day.

What is the difference between PDF and PDF/A?

"PDF" covers several different things, and the differences matter.

  • Image-only PDF. Each page is a picture. It looks right, but you cannot search or copy the words.
  • Searchable PDF. The page picture is kept, and a layer of recognised text (from OCR) sits behind it. You see the original page and can search it. This is the usual choice for scanned documents.
  • PDF/A. A version of PDF designed for long-term keeping. Fonts are embedded, and the file cannot depend on outside resources or rely on features that may stop working, such as encryption or scripts. The aim is that it looks the same in many years' time.

PDF/A is an international standard (ISO 19005) published in parts:

PartYearBased onWhat it adds
PDF/A-12005PDF 1.4The original, with restrictions on colour, fonts and other features
PDF/A-22011PDF 1.7Allows JPEG 2000 compression, layers and embedded PDF/A files
PDF/A-32012Similar to PDF/A-2Allows files of any type to be attached
PDF/A-42020PDF 2.0The newest part. It drops the levels below, and adds variants for attachments and 3D content

Parts 1 to 3 also have conformance levels, shown as a letter after the number:

  • b (basic) makes sure the page looks the same in future.
  • u (Unicode) also makes sure the text can be reliably searched and copied. It applies to parts 2 and 3.
  • a (accessible) goes further and keeps the page structure, so screen readers can read it.

For scanned records, PDF/A-2b is a common choice, and PDF/A-2u when a searchable text layer is included. A file is only PDF/A if it passes a validation check, not because it carries the label, so confirm it with a checking tool, particularly if records must meet a standard.

Which compression should I use?

Compression is a trade-off between file size and the detail you keep. As a rough guide, one A4 page at 300 dpi gives these sizes (estimates, since it varies by page):

SettingTypical sizeWhat happens to the detail
Colour, uncompressedAbout 25 MBNothing lost
Greyscale, uncompressedAbout 9 MBNothing lost
Black and white, uncompressedAbout 1 MBNothing lost
Black and white, lossless compressionAbout 50 to 100 KB for a text pageNothing lost
Colour, lossless compressionAbout 5 to 15 MB, depending on the pageNothing lost
Colour, lossy (JPEG)About 0.5 to 1.5 MBSome detail permanently lost

Uncompressed is the safest and the largest. It suits master copies where storage is not the limit.

Lossless compression keeps every detail and reduces size. For colour and greyscale, this means methods such as LZW and ZIP inside a TIFF, or lossless PNG. For black and white pages, a method designed for black and white gives very small files. It suits master copies and records you may need to look at closely.

Lossy compression gives the smallest files and suits viewing copies and photographs. It is less suited to text and line drawings, where it can blur edges and leave marks around letters. Set the quality high, and do not repeatedly open, edit and resave the same lossy file, because the loss builds up. For black and white text, avoid very aggressive compression settings, which in rare cases can alter characters.

A simple rule: use lossless or none for what you keep, and lossy only for convenience copies, and only when the loss does not matter for the purpose.

What are master and access copies?

Many organisations keep two versions of every scan.

  • The master copy is the best-quality version, kept as the reference. It is not used day to day. It is stored safely and used to make other copies when needed.
  • The access copy is a smaller version for everyday viewing, sharing and emailing. If it is lost or damaged, you make another from the master.

Quality cannot be added later. You can always make a smaller copy from a high-quality master, but you cannot recover detail that was never captured, or that was discarded by compression. Capturing once at a good standard avoids the cost of rescanning.

The cost is storage, because you keep both. Even so, the access copies are usually small, so the master copy decides how much space you need.

Choosing a format by purpose

If you need to...ConsiderWhy
Keep a master copy for the long termTIFF, uncompressed or lossless, or PDF/AFull quality, widely supported, and built to last
Share or email documentsPDF, usually searchableOne file, opens anywhere, and the words can be searched
Keep documents readable for decadesPDF/A, checked by a validatorSelf-contained, with no outside dependencies
Keep drawings, plans and mapsTIFF master, with a PDF for viewingKeeps fine lines, and PDF is easy to open and print
Keep photographsTIFF master, with a JPEG for viewingKeeps all the tone, and the JPEG is small
Put images on a websiteJPEG or PNG at a reduced sizeQuick to load
Keep files small for everyday useA lossy or compressed PDFSmaller files, as long as the loss does not matter for the purpose
Handle records that must meet a specific standardThe format that standard namesThe standard decides, not the general advice here

If you are unsure, a TIFF master plus a searchable PDF for use is a safe and common combination.

What Australian archives recommend

National and state archives publish digitisation guidance. It is written for government bodies, but it is a useful reference for anyone choosing a format, and it agrees on more than it differs. Use this as a guide only and check the current version for your records, because guidance is updated from time to time.

ArchivesMaster or preservation copyAccess copyResolution and other points
National Archives of AustraliaTIFF for all non-audiovisual records, uncompressed or lossless. For temporary-value records: TIFF 6.0, lossless PNG, high-quality JPEG, or PDF/A at maximum image qualityA JPEG or other lower-quality copy made from the master300 ppi, 24-bit colour or 8-bit greyscale, and OCR recommended for temporary-value paper records. See the paper records specifications
New South WalesTIFF, JPEG 2000, or PDF/A containing TIFF or JPEG 2000. Lossless or no compression for long-term recordsDerivatives such as JPEG for deliveryAt least 300 ppi for black and white text, and at least 600 ppi for shading, watermarks or colour
VictoriaSee PROS 25/02 S1 for file format and compression requirementsSee the specificationApplies to Victorian public offices digitising records to use as the official record
QueenslandNo single format set. PDF, JPG and TIFF are named as widely supported. Lossless compression recommendedNot set out separately300 ppi for black and white text, and 600 ppi for shading or colour. Colour capture recommended
Western AustraliaTIFF 6.0 (uncompressed, or lossless ZIP or LZW), lossless PNG, high-quality JPEG, or PDF/A at maximum image quality. Lossless compression requiredA resized scan is allowed for oversized maps and plans, for access only300 dpi for text and for maps and plans, and 600 dpi for photographs. OCR recommended for text
TasmaniaTIFF 6.0, uncompressed, saved as single-page files. PDF/A and JPEG 2000 are also recognised preservation formatsJPEG or PDF with JPEG compression, made when scanning300 ppi for A4 and under, and 400 ppi above A4
Australian Capital TerritorySee the Territory Records Office technical specifications for file format and compression requirementsSee the technical specificationsThe quality needed generally rises with how long the records must be kept
Northern TerritoryNo master format set. The default for A4 and A3 documents is a searchable PDFNot set out separately300 dpi, at least 8-bit colour, and duplex scanning with blank pages removed

For South Australia, contact State Records of South Australia for the guidance that applies to your records.

A few themes appear across most of them:

  • TIFF is the usual choice for the master copy, with PDF/A and JPEG 2000 accepted in some guidance.
  • Keep the master lossless or uncompressed. Lossy compression is for access copies.
  • Keep a master and a smaller access copy, rather than one file that does both jobs.
  • Resolution is part of the standard, and it cannot be raised after scanning.
  • Different records, different rules. Records of permanent value are held to a higher standard than routine ones.

They do not agree on everything. Tasmania keeps preservation TIFFs uncompressed, while Western Australia and the National Archives also allow lossless compression. The Northern Territory defaults to a searchable PDF at 300 dpi, and Queensland does not prescribe a format. Resolution minimums range from 300 ppi to 600 ppi depending on the record.

Common pitfalls

  • Choosing the format after scanning starts. Changing later often means rescanning.
  • Saving only a compressed copy. Detail that has been thrown away cannot be restored.
  • Resaving a lossy file. Each save can lower the quality further.
  • Assuming every PDF is PDF/A. Only files that pass a check meet the standard.
  • Image-only PDFs. Pages that look fine but cannot be searched are hard to use at scale.
  • Forgetting file size. A colour master of every page adds up quickly, so estimate the storage first.
  • Using the same file for everything. A master that is too big to share, or a viewing copy that is too poor to keep, causes problems either way.
  • Ignoring the rules that apply. Some records must meet a named standard, so check before you decide.

Frequently asked questions

What is the difference between PDF and PDF/A?

PDF/A is a restricted form of PDF made for long-term keeping. It embeds fonts and avoids features that may stop working, so the file looks the same in future. A file is only PDF/A if it passes a validation check.

Is TIFF better than PDF?

They do different jobs. TIFF is an image format often used for master copies because it keeps full quality. PDF is a document format that is easier to share and can hold searchable text.

What is a searchable PDF?

A PDF that keeps the picture of each page and adds a hidden layer of recognised text behind it, so you can search and copy the words.

Should I use lossless or lossy compression?

Use lossless or no compression for what you keep, and lossy only for convenience copies where losing some detail does not matter.

What is a master copy?

The best-quality version of a scan, kept as the reference and used to make smaller access copies when needed.

Where to start

A good first step is to decide four things: what the scans are for, how long they must be kept, which rules apply to your records, and how people will use them day to day. The answers usually point to a master format and an access format.

Vision and Beyond helps organisations choose scanners and capture settings, set up indexing and searchable files, and manage records. We stay involved after the equipment is installed. If you would like to talk through the right file types for your records, send us a message with the kinds of documents you scan and what you need to do with them.

These guides may also help:

Talk to us about scanning and document capture

Tell us what you scan, roughly how much, and what you need to do with the files. We will reply with a recommendation.

Email
sales@vision-and-beyond.com.au
Phone
02 4311 6379
Post
PO Box 441, Pyrmont NSW 2009

Send us a message

Include what you scan, roughly how much, and what you need to do with the files.