Archiving family photographs: a format statement
I am starting to scan the family’s photographs on an Epson Perfection 4990 for i.bytestone.uk, where each person gets a page. A photograph scanned once should never need scanning again, so the scan has to be an archive and not just a picture for a web page. This post sets out what that means in practice: a statement in the spirit of the Library of Congress Recommended Formats Statement for still images, with capture targets taken from the US federal FADGI guidelines and the format choice checked against the British Library’s preservation assessment of TIFF.
One choice is still open: where the offsite copy lives.
Principles
A master is captured once and never altered. FADGI is blunt about this: no dust removal, no colour or tone enhancement, no restoration on a master. Everything that makes a photograph look good on a screen happens to a rendition, which is derived from the master and can be thrown away and made again when the processing improves. Improving the pictures means re-running the processing, never re-scanning.
The archive must outlive the tools. In fifty years nobody will have the scanning program or its database. Every photograph is kept as a directory that explains itself: images in a common format, metadata in plain text, and a checksum for every file. The database only records the work done; it holds nothing that the archive needs.
Boring formats. The British Library’s assessment of TIFF found its risks come from the unusual corners (rare compression schemes, multiple images in one file, private tags), not from the format. We stay in the well-trodden middle.
Say how good it is. FADGI grades images from one to four stars. Where we fall short of a level, the statement says so instead of implying otherwise.
What we capture
| Material | Resolution | Depth | Notes |
|---|---|---|---|
| Print, front | 600 ppi; 1200 ppi for prints smaller than 6 × 4 inches | 16 bits per channel, RGB | scanned at 600, 1200 or 2400 ppi and averaged down; FADGI 4-star resolution and depth, black-and-white prints included |
| Print, back | 300 ppi | 8 bits per channel, RGB | the handwriting, lab stamps and paper backprint; FADGI’s level for textual records |
| Letter, each side of each sheet | 600 ppi | 8 bits per channel, RGB | the FF-680W’s document feeder, both sides in one pass; 8 bits is the feeder’s limit, so FADGI 3-star for documents, see Letters |
| 35 mm and 120 film, slides | 2400 ppi | 16 bits per channel | later; the 4990 resolves about 2300 ppi, so this is FADGI 2-star, not the 3-star 3000 ppi |
The back is captured in colour because ink colour distinguishes one writer, or a lab’s stamp, from another.
Small prints get 1200 ppi because a 3½ × 2½ inch print at 600 ppi is only 2100 × 1500 pixels, and old contact prints can hold more detail than that.
Every scan uses fixed settings: no automatic exposure, sharpness neutral, no dust removal, the scanner’s colour correction off. They are recorded with the master. That is what lets a colour profile be added later.
Colour
There is no calibration yet, so the masters are in the scanner’s own colour space and fall short of FADGI 3-star colour, which asks for a measured profile in Adobe RGB (1998), ProPhoto or eciRGB v2. When an IT8.7/2 target arrives, the scanner gets an ICC profile (made with ArgyllCMS), and because the settings never changed, that profile describes every master already made. It is assigned to them in their metadata, not used to convert them, so the pixels stay as captured.
Noise
Two scans of the same print, subtracted, leave only the scanner’s noise. Measured that way, the 4990’s settings matter more than the scanner:
| Scanned at | Colour correction | Time, 7 × 5 inch print | Noise per scanned pixel, R / G / B | Noise at 600 ppi after averaging |
|---|---|---|---|---|
| 600 ppi | on (SANE default) | 14 s | 376 / 412 / 555 | (no averaging) |
| 600 ppi | off | 16 s | 326 / 327 / 362 | (no averaging) |
| 1200 ppi | off | 75 s | 275 / 270 / 299 | 151 / 148 / 160 (2 × 2) |
| 2400 ppi | off | 139 s | 253 / 248 / 281 | 89 / 77 / 101 (4 × 4) |
Noise is in counts of 65535, measured over USB 2.
The scanner’s built-in colour correction is a matrix that mixes the channels and amplifies noise, blue worst; it also makes the channels’ noise correlated. It is turned off, and colour is left to the ICC profile, which does the same job properly. The 4990’s own 600 ppi mode is noisier per pixel than its higher resolutions, so the firmware is evidently not averaging when it reduces resolution. We scan higher and average blocks of pixels down to 600 ppi, a fixed linear step recorded as part of the capture. At 1200 ppi that gives about 150 counts, a little over 8½ bits of signal per pixel, close to Roger Clark’s measurement of the same scanner. 2400 ppi gives about 90 counts, but the gain is less than the 16 pixels averaged would suggest. Neighbouring pixels at 2400 ppi share noise, because the lens resolves less than 2400 ppi. It costs time, not storage.
A batch is one sitting of scanning: one person’s prints, from one place, shown under one credit, over as many scans as the shoebox needs. A scan is one placing of prints on the bed: previewed, its prints confirmed, then captured in one detail pass. The scanning resolution is chosen per batch: 1200 ppi for bulk work, 2400 ppi for the photographs that matter most, for about ¾ of a bit less noise at twice the time. It is recorded with each master.
Subtracting repeat scans cannot see fixed-pattern noise, such as faint streaks that repeat identically in every scan; that needs a flat target.
The scanner’s sharpness setting does what it says. +2 doubles the noise by sharpening, and −2 halves it by blurring along the scan line. Both change the image, so it stays at 0, which measures as neutral.
The masters keep the noise that remains. Removing it means guessing which fine texture is the print’s grain and which is the scanner’s, and FADGI rules that out for masters. Renditions may be denoised, and the measured figure tells the denoiser how hard to work. Averaging repeated scans is a legitimate way to reduce noise: two passes cut it by the expected √2. We don’t do it yet, because a pass that shifts by a fraction of a pixel would blur the average.
That noise sets how many of the 16 bits carry information. Rounding the 1200 ppi averaged scan to coarser steps, still stored as 16-bit TIFF with Deflate:
| Kept | Rounding step | Noise, was 148 | Size, 7 × 5 inch print |
|---|---|---|---|
| 16 bits | 1 | 148 | 64 MB |
| 12 bits | 16 | 148 | 44 MB |
| 11 bits | 32 | 148 | 38 MB |
| 10 bits | 64 | 149 | 32 MB |
| 8 bits | 256 | 165 | 20 MB |
Rounding to a step under half the noise adds almost nothing, because the noise is already larger than the step. Detail averaged over an area survives as well, since the noise randomises the rounding. So 10 bits would halve the storage at a cost of under 1% more noise.
We keep all 16 bits anyway. “Lossless” is a claim anyone can check; “lossy, but only below the noise” depends on trusting a measurement and on the step being re-chosen whenever the settings change. At family-archive scale the difference is a few hundred gigabytes per copy.
FADGI asks for a reference target in every exposure. We will scan the target once per session instead, and say so.
What we keep
| Master | Rendition | |
|---|---|---|
| Purpose | the archive | display on the site |
| Format | TIFF 6.0 baseline, little-endian, one image per file (PRONOM fmt/353) | JPEG |
| Depth | as captured | 8 bits per channel |
| Colour | scanner RGB, profile assigned when there is one | sRGB |
| Compression | Deflate with horizontal predictor (lossless) | normal JPEG |
| Edits | none | crop, straighten, levels, dust; each one recorded |
| Kept | forever, with fixity checks | regenerated when the processing improves |
FADGI and the Library of Congress accept Deflate (lossless “ZIP”) compression for TIFF. The British Library notes many institutions insist on uncompressed, but traces that habit to the old LZW patents rather than to any risk in lossless compression. Every TIFF reader decodes Deflate with the horizontal differencing predictor. Measured on a 7 × 5 inch print at 600 ppi, 16-bit:
| Encoding | Size |
|---|---|
| TIFF, uncompressed | 80.9 MB |
| TIFF, LZW with predictor | 86.7 MB |
| TIFF, Deflate | 73.3 MB |
| TIFF, Deflate with predictor | 65.8 MB |
| PNG, maximum compression | 64.5 MB |
The saving is a modest 19%, because the scanner’s noise fills the bottom eight or so bits of each 16-bit sample and noise does not compress. LZW makes 16-bit scans bigger, so it is ruled out.
Why not PNG, which is lossless, simple and on the Library of Congress’s preferred list? FADGI lists only TIFF and JPEG 2000 as master formats for photographs. PNG records resolution in pixels per metre, so 600 ppi can only be stored approximately. Its embedded metadata is also less widely read by archive and photo tools. PNG’s per-chunk checksums would be a bonus, but the bag’s SHA-256 manifest already covers fixity.
A bed scan holds several prints. Each print gets its own master, cut from the bed scan with a margin so the print’s own edges, borders and any stamp on them survive, and not rotated: straightening resamples the pixels, so it belongs to the rendition. The master records instead where the print lies in it, turned and all, so a rendition can be straightened from the master alone. The uncut bed scan is not kept.
Metadata
A photograph’s metadata is mostly claims: the date on the back, the names written under it, the studio that took it. Each claim records where it came from, because a date written in pencil in 1960 and a date read off the paper’s backprint are not the same kind of evidence.
| Claim | Typical evidence |
|---|---|
| Date taken | handwriting on the back; often approximate (“summer 1952”) |
| Date printed | a lab stamp or the paper maker’s backprint |
| Who is in it | names on the back; recognised by a relative; later, a face match |
| Where | handwriting; a studio’s stamp |
| Photographer | a studio’s mark; often unknown |
Each claim has a value, a source (which side, which person, which program)
and how it was read: transcribed by a person, machine-read, or
inferred. A machine reading is never published until a person has
confirmed it. Dates use ISO 8601 prefixes (1952, 1952-07) with an
approximate flag, the same as i.bytestone.uk’s person records.
Metadata lives in two places, and the split follows the rule that masters never change:
- Embedded in the master as XMP: only what is fixed at capture: the photograph’s id, which side, the batch and the scan, the scanner and its settings, the capture date, and where the print and its margin lie in the image: their angle, centre and size. A master separated from its directory still says what it is.
- In the sidecar
photo.yaml: everything that can change: the claims, captions, who appears, which person’s album it belongs to, and the rights, which are rarely settled when a print is scanned. This is the authority.
The Library of Congress asks for title, creator, date, place and publisher where the format supports them. For a family photograph most of those are claims, and “unknown” is an honest value.
Packaging
Each photograph is one BagIt bag (RFC 8493): a directory with a manifest of SHA-256 checksums that any BagIt tool can verify.
<photo-id>/
bagit.txt
bag-info.txt
manifest-sha256.txt
tagmanifest-sha256.txt
data/
front.tif
back.tif
photo.yaml
A print with nothing on its back is not turned over: its bag has no back.tif, and that absence is the record that the back was blank.
The scanner builds each bag in its own staging and hands it to the archive service, which gives out the item’s id, verifies the manifests and answers a receipt. Staging holds a photo only until the archive receipts it, and clears a batch’s working files 30 days after its last photo is receipted; it is not one of the archive’s copies.
Renditions sit outside the bag. They are access copies, made again whenever the processing improves, and are not part of what is preserved.
A photograph’s id is its own, in its own series, written in lower-case Crockford base32 like i.bytestone.uk’s person ids. It does not depend on which person’s album the photograph is in, so moving it to another album changes a link, not its identity.
When a claim is corrected the manifest is regenerated, so the bag alone would lose the old value. The sidecars are also kept in a git repository, which keeps their history at little cost.
Films received
A film comes as one file, already digitised by someone else: a transfer
from cine or tape, lossy, and the best there is. It is an item of its own,
kept exactly as received: the file under data/ with the extension it
came with and film.yaml beside it. The record says who made the
transfer, when and from what; who the film names and in what part
(director, producer, camera, cast, narrator, subject), each a person id;
when it was made, as a claim with its source; and what was read off the
file: duration, codecs, frame rate and chapters. No better master is made
from a transfer, and the file is never re-encoded in the bag.
A film’s renditions are a poster and a play copy. The poster is the
picture attached in the file, or a frame the archivist chose, and gives
the display, thumb and tiny images that stand for the film on a page.
The play copy, play.mp4, is H.264 and AAC in MP4, remuxed from the
file when it already is and transcoded otherwise; browsers play it. Both
are made again when the processing improves, as a photograph’s are.
Placeholders
Not everything a person made can be held. A book is in a library; a film is at the BFI. Each is still an item, with an id from the same series: a bag holding only its record, which must say where the thing is (a catalogue entry, a URL, a citation). A placeholder needs no renditions and shows no picture.
A person’s works, the books they wrote and the films they made or appeared in, are never written on the person’s record. They are derived from the items, held or placeholder, that name the person with a role. A work is listed because an item says so, and nowhere else. Letters will use the same device for people: a letter from one person to another, naming a third, makes a placeholder for each one the register lacks, and the record grows outward from what is held.
Letters
A letter is paper, written on, folded and posted: one sheet or several,
each with two sides, and often its envelope. It is one item, from the
same id series, holding every sheet it came with as masters in the order
the archivist lays them, each side that is written on, with letter.yaml
beside them. A sheet is kept whole: a folded sheet carrying two pages a side, or
a page written across itself to save paper, is not cut into pages or
straightened in the master. Cutting the pages out, turning them the
right way up, a PDF of the letter in reading order and a transcription
of the hand are all renditions and records, made again as the processing
improves, as a photograph’s are. Which way up a side reads, whether it
is folded in half and the order its pages are read in are the
archivist’s word, recorded side by side in letter.yaml; each page is
then a rendition, cut from the master at the middle of the side.
Sheets go through the FastFoto FF-680W’s document feeder, both sides in
one pass, at 600 ppi and 8 bits per channel RGB, the feeder’s skew
correction off and the whole sheet in the image. The feeder scans the
full width of its path and stops at the paper’s end, so at capture each
side is cut across to the sheet and 3 mm of the path either side of it,
or to the path’s edge where that is nearer, and the white the driver
fills below the paper’s end is left off; top and foot are as the feeder
gives them. That is done before the master is written, which is never
altered after. The feeder hands its pictures over as JPEG, quality 90,
and nothing finer is to be had from it through SANE: the master is that
picture decoded, kept as TIFF so that it is not compressed again. A
side the archivist finds blank is left out of the item, and
letter.yaml records that it was blank: the record says the side was
looked at, and an empty master says no more at a hundred megabytes. A
sheet blank on both sides is left out whole. The archivist decides, side
by side, when the sheets are arranged; nothing is judged blank by the
machine. FADGI puts fed
document scanners under general collections, where 600 ppi is beyond the
400 of four stars but 8 bits per channel is three-star depth, and the
feeder has no 16-bit mode. For manuscripts FADGI wants a planetary
scanner or a camera and 16 bits. A letter here is therefore a three-star
general-collections capture, not a four-star manuscript one: that is
what the machine gives, and the statement says so.
One load of the feeder is usually one letter, but it may hold several,
or a letter and its envelope, and the archivist says afterwards which
sheets make which item and in what order. Each sheet’s role is recorded,
sheet or envelope. Who wrote it, to whom and when are claims (the
signature, the address, the postmark, the date at the head), each with
its source, read by a person or by a machine and confirmed; they come
later, and the record grows outward from the sheets as it does from a
film.
<letter-id>/
bagit.txt
bag-info.txt
manifest-sha256.txt
tagmanifest-sha256.txt
data/
sheet-01-front.tif
sheet-01-back.tif
sheet-02-front.tif
sheet-02-back.tif
letter.yaml
Accounts received
Writing arrives as writing too: a memoir typed in Word, a family
history, a eulogy, a transcript somebody made of a diary. Such a file is
an account: an item of its own, from the same id series, with
account.yaml beside it.
An account is the one item not kept as received. A Word document is a
container, not a text: it can attach a template from elsewhere, embed
other programs’ objects and carry fields that act when it is opened, and
an archive that holds one holds something that may one day be opened.
So the words are taken out at import and the container is let go. The
master is account.md: Markdown, UTF-8, written by a converter that
carries across only what it knows to be text (headings, paragraphs,
emphasis, lists, links to the web, and the author’s footnotes and
endnotes) and so cannot carry anything else. Plain text is brought to
the same form. The record keeps the received file’s name, size and
sha256, so that the master can be tied to the sender’s copy, and a count
of what the converter left out: pictures, tables, embedded objects. A
document whose pictures matter is two things, and the pictures are
brought in as photographs. Once written, the master is never altered.
The record also says who the account names and in what part, author or subject, each a person id, which makes it a work of theirs as a film is; when it was written, as a claim with its source, never taken from the file’s own dates, which are the typing’s; and its transmission: each hand the text passed through to reach the archive, in order, with its part (transcribed, typed, edited, kept, sent), a date and a note. A hand is a person id, or a name as written where the register does not hold them.
An account has no renditions. The page that shows it is made from the Markdown each time the site is built: headings, paragraphs and lists, and the notes numbered at the foot. Raw HTML in the Markdown is never passed to the page, nor a picture, nor a link to anything but the web. The page ends with one note of provenance, written from the record: who wrote it, each hand in its transmission, what file it was taken from and what was left out, and the item’s id.
<account-id>/
bagit.txt
bag-info.txt
manifest-sha256.txt
tagmanifest-sha256.txt
data/
account.md
account.yaml
Copies and fixity
| Copy | Holds | Role |
|---|---|---|
| NAS | everything | primary |
| i.bytestone.uk | photographs whose rights allow publishing, masters included | public, and a second copy of those |
| offsite, cold | everything | disaster recovery |
Photographs whose rights do not allow publishing are still archived, which is why the site cannot be the archive. A scheduled fixity check recomputes every checksum on every copy and reports any that differ.
Fixity runs monthly.
Open: where the offsite copy lives.
Rights
Old family photographs rarely have a clean answer on copyright: studio portraits, unknown photographers, and UK transitional rules for photographs taken before 1957. So each photograph records three things:
| Field | Example |
|---|---|
| Rights holder | a family member; “J. Smith Studio, Dundee”; unknown |
| Rights statement | a Creative Commons licence such as CC BY 4.0 for our own; otherwise a rightsstatements.org term such as Copyright Undetermined or No Copyright – United Kingdom |
| Credit | the line shown under the picture |
The rights statement decides whether a photograph is published; nothing is published on a guess.
Where we stand
| FADGI level reached | |
|---|---|
| Prints: resolution, bit depth | 4-star |
| Prints: colour | below 3-star until calibration |
| Film | 2-star, the limit of the scanner |
| Master format | as required at every level (TIFF) |
References
- Library of Congress, Recommended Formats Statement: Still Image Works
- Federal Agencies Digital Guidelines Initiative, Technical Guidelines for Digitizing Cultural Heritage Materials, 3rd edition, May 2023
- British Library Digital Preservation Team, Preservation Assessment: TIFF Format, version 1.3, 2015
- Roger N. Clark, Drum vs flatbed scanners
- Pennock, Wheatley and May, Sustainability assessments at the British Library: formats, frameworks and findings, iPRES 2014
- The National Archives, PRONOM fmt/353: Tagged Image File Format
- RFC 8493: The BagIt File Packaging Format
- RightsStatements.org