Method · GUIDE 171
The last seven JPEG figures
A format convention is only as good as its exceptions. Seven figures in this archive predate the WebP rule, and measuring what they cost is the first step to finishing the migration.
Editorial diagram · illustrative, not a store screenshot.
The split
The archive references 332 distinct figure files. Three hundred and twenty-five are WebP; seven are JPEG.
The seven are not scattered. Four belong to one article about Linear’s iPad set, and three to one about Gmail’s ten frames — both written before the WebP convention settled.
What they cost
The seven JPEGs total 92,868 bytes. Re-encoding each at the quality used for the rest of the archive — WebP at 64 — gives 59,072 bytes in total.
That is a saving of 33,796 bytes, or about 36 per cent of their combined weight. Per file the saving ranges from about 4,000 to 5,300 bytes.
Why they were missed
The convention was adopted after those two articles were published, and nothing in the build checks a figure’s format. A new article gets WebP because the export step produces it; an old one keeps whatever it was published with.
That is how conventions usually fail: not by being wrong, but by having no enforcement at the boundary where old and new meet.
What finishing the migration takes
Convert the seven files, update the seven src paths in the two articles, rebuild, redeploy and re-record both pages. It is a small, bounded change — two articles, seven files, one deploy.
The reason to do it is not the 34 kilobytes. It is that a check for “all figures are WebP” can only be written once there are no exceptions left.
What a check would look like
Walk the figure records, take each src’s extension, and fail the build if it is not the expected one. That is a few lines, and it would have caught these seven the day the convention changed.
The same check would catch a future regression — a figure exported as PNG by a tool that defaults to it, for instance — which is the more likely failure than an old file.
Why the saving is small and still worth measuring
Thirty-four kilobytes is nothing against a 3.17 MB figure corpus. But the measurement is what turns “we should tidy that up” into a task with a size, and the size is what decides whether it is worth a deploy.
Here it is: one deploy, two articles, seven files. That is cheap enough to do, and cheap enough to skip without guilt — the point is knowing which.
How to check your own
Group your image files by extension and count. If the minority is small and clustered in early content, you have a migration that stopped rather than one that never started.
Then measure the minority’s bytes and the bytes after re-encoding at your standard quality. If the saving is under a few per cent of the corpus, the argument for converting is consistency, not weight — and that is a different argument.
Limits
Measured from the built site on 6 November 2026 (IST): 332 figure files, 325 WebP and 7 JPEG, with the seven totalling 92,868 bytes and re-encoding to 59,072 at WebP quality 64. Re-encoding was done in memory for measurement; no files were changed.
No claim is made about visual quality at that setting beyond the fact that it matches the rest of the archive, and none about load times. The conversion has not been applied.
Sources & further reading
File counts and byte sizes were read from the built asset directory on 6 November 2026 (IST); the WebP figures come from re-encoding each JPEG in memory at quality 64, and no published file was modified. Requirements can change; confirm the current source before upload.