R093 TA4: File Formats and Properties
Which format for which job, how compression works, and the properties that decide whether a file is fit for purpose. Reliable marks if you know the table.
Image formats
Raster and vector
| Raster (bitmap) | Vector | |
|---|---|---|
| Made of | A grid of pixels | Mathematical paths and shapes |
| Scaling | Blurs or pixelates when enlarged | Scales to any size with no loss |
| Suits | Photographs, detailed textures | Logos, icons, diagrams, type |
| File size | Grows with dimensions and colour depth | Grows with the number of shapes |
| Formats | JPG, PNG, GIF, TIFF, BMP, WEBP | SVG, AI, EPS, PDF |
The formats themselves
| Format | Compression | Transparency | Use it for |
|---|---|---|---|
| JPG | Lossy | No | Photographs, where small size matters more than perfect fidelity |
| PNG | Lossless | Yes, full alpha | Graphics with flat colour, screenshots, anything needing transparency |
| GIF | Lossless, 256 colours | Yes, 1 bit only | Simple animation; obsolete for still images |
| TIFF | Lossless or none | Yes | Print production and archive masters |
| SVG | None, it is text | Yes | Logos, icons and diagrams on the web |
| WEBP | Lossy or lossless | Yes | Modern web images, smaller than JPG at the same quality |
| Mixed | Yes | Sending a finished layout to print or to a client |
Photograph on a web page: JPG or WEBP. Logo: SVG. Screenshot or a graphic with transparency: PNG. Press ready artwork: PDF or TIFF. Those four sentences answer most format questions in the paper.
Step 1 of 4 Lossy throws data away permanently to make the file small.
Audio, video and document formats
Audio
| Format | Compression | Use |
|---|---|---|
| MP3 | Lossy | Distribution, podcasts, music where size matters |
| AAC / M4A | Lossy | Better quality than MP3 at the same size; streaming and Apple devices |
| WAV | Uncompressed | Recording and editing masters |
| AIFF | Uncompressed | As WAV, on Apple systems |
| FLAC | Lossless | Archiving without quality loss |
Video
| Format | Notes |
|---|---|
| MP4 (H.264) | The universal delivery format. Plays everywhere |
| MOV | Apple's container, common in production |
| AVI | Older Windows container, large files |
| WMV | Older Windows format, heavily compressed |
| MKV | Flexible container, less widely supported by browsers |
A container such as MP4 or MOV holds streams encoded with a codec such as H.264 or AAC. Two MP4 files can be completely different inside, which is why a file sometimes will not play even though the extension is right.
Document and project formats
- PDF — fixed layout, looks identical everywhere, for final delivery
- DOCX, ODT, RTF, TXT — editable text, in descending order of features
- PSD, XCF, AI, SVG, PRPROJ, AEP — working project files, keeping layers and edits
- ZIP — a lossless archive, used to deliver a set of files together
- Audio formats trade quality against size: lossless WAV is large, lossy MP3 and AAC are small.
- Video: MP4 is the safe choice for sharing, MOV and AVI suit editing or are old.
- Documents: PDF keeps the layout, DOCX can be edited, TXT is plain text.
- The same song is about ten times smaller as an MP3 than as a WAV.
Properties, compression and fitness for purpose
Properties that get examined
| Property | What it means | Why it matters |
|---|---|---|
| Resolution | Pixels per inch, or total pixel dimensions | 72 ppi is fine on screen; print needs about 300 |
| Dimensions | Width and height in pixels or millimetres | Decides whether an image can fill its space |
| Colour depth | Bits per pixel | 24 bit gives 16.7 million colours; 8 bit gives 256 |
| Colour mode | RGB or CMYK | Screens are RGB; printing presses are CMYK |
| Aspect ratio | Width to height | 16:9 landscape, 1:1 square, 9:16 vertical |
| Frame rate | Frames per second | 25 fps UK broadcast, 24 cinema, 50 or 60 for sport |
| Bit rate | Data per second | The main control over video and audio quality and size |
| Sample rate | Audio samples per second | 44.1 kHz is CD quality |
| Bit depth (audio) | Bits per sample | 16 bit for delivery, 24 bit for recording |
Compression
- Lossless — nothing is discarded, the original can be restored exactly. PNG, FLAC, ZIP, TIFF
- Lossy — detail the eye or ear is least likely to notice is thrown away permanently. JPG, MP3, MP4, AAC
Lossy compression is generational: each re-save of a JPG discards more. Always edit the master and export a new copy, rather than editing the export.
Fitness for purpose
A file is fit for purpose when its format and properties match where it is going.
| Destination | Needs |
|---|---|
| Print poster | CMYK, 300 ppi, PDF or TIFF, with bleed |
| Website hero image | RGB, around 72 to 144 ppi, JPG or WEBP, compressed to a few hundred kilobytes |
| Logo for any use | SVG master, with PNG exports at the sizes needed |
| Social video | MP4 H.264, correct aspect ratio for the platform, captions burned in or supplied |
| Podcast | MP3 at 128 kbps mono or stereo, from a WAV master |
The colours shift, and bright greens and oranges in particular come back dull. Converting to CMYK at the start means the designer sees the real colour; converting at the end means a surprise.
Key terms you must be able to define
- Raster
- An image stored as a grid of pixels.
- Vector
- An image stored as mathematical paths, scalable without loss.
- Lossy compression
- Compression that permanently discards data to reduce file size.
- Lossless compression
- Compression that reduces size with no data lost.
- Resolution
- The pixel density of an image, measured in pixels per inch.
- Colour depth
- The number of bits used per pixel, which sets how many colours are possible.
- Codec
- The method used to encode and decode a video or audio stream.
- Container
- A file format such as MP4 that holds encoded audio and video streams.
- Bit rate
- The amount of data used per second of audio or video.
- Aspect ratio
- The ratio of a product's width to its height.
Flashcards
Say the definition out loud before you flip the card. Retrieving it from memory is what builds recall, reading it again is not.
Reach the top grade on this topic
Format questions are marked on justification. Never give the format alone. "PNG, because the logo must sit over a coloured background and PNG supports transparency where JPG does not, and because lossless compression keeps the flat colours and sharp edges clean" is the shape of a full mark answer.
Mistakes that cost marks here
- Saying a format is 'better' without naming the use. Fitness for purpose is the whole question.
- Using JPG where transparency is needed. JPG cannot store it.
- Sending RGB files to a commercial printer instead of CMYK.
- Supplying a logo as a JPG with no vector master.
- Repeatedly editing and re-saving a JPG, which compounds the quality loss.
- Confusing resolution with dimensions. 300 ppi tells you nothing on its own about how big the image is.
A JPG loses a little quality every time it is saved. Open and re-save the same photograph two hundred times and it degrades into coloured blocks, which is why the working file is never a JPG.
Knowledge check
Exam-style questions
Five written questions in the style of the real paper. Write a full answer, then let the marker check it against the mark scheme.
- L(a) JPG, WEBP or similar lossy raster format
- LA reason referring to size, compression or photographic content
- L(b) SVG, or another vector format
- LA reason referring to scalability or transparency
(a) JPG, because lossy compression gives a small file at a quality that is acceptable for a photograph on screen, so the page loads quickly. (b) SVG, because it stores the logo as mathematical paths, so it stays perfectly sharp at any size from a favicon to a banner and supports a transparent background.
- LLossy defined as permanently discarding data
- LA correct lossy example
- LLossless defined as reducing size with nothing lost
- LA correct lossless example
Lossy compression reduces file size by permanently throwing away data that the eye or ear is least likely to notice, so the original can never be recovered and quality drops further with each re-save. JPG is a lossy format, and so is MP3. Lossless compression reduces size by storing the same information more efficiently, so the file can be decompressed back to an exact copy of the original. PNG and FLAC are lossless, as is ZIP. The choice is a trade: lossy gives much smaller files for delivery, lossless keeps the master intact for editing and archiving.
- LThe print version needs CMYK
- LThe web version needs RGB
- LPrint resolution of around 300 ppi is stated
- LWeb resolution or file size is addressed
- LAppropriate print format is named
- LAppropriate web format is named, with a reason for the difference
The print version must be CMYK, because a printing press lays down cyan, magenta, yellow and black ink and an RGB file has to be converted at some point; converting it at the start means the designer sees the colours that will actually be printed rather than being surprised by dull greens. It needs to be around 300 ppi at final size so that detail and type edges are sharp on paper, and it should be supplied as a press ready PDF with bleed and crop marks so that trimming does not leave white edges. The web version must be RGB, because screens emit red, green and blue light, and a CMYK file either will not display correctly or will be converted by the browser with unpredictable results. It only needs enough pixels for the size it is displayed at, so a far lower resolution is appropriate, and it should be exported as a compressed JPG or WEBP of a few hundred kilobytes. The properties differ because the two destinations have opposite priorities: print is a fixed, one chance process where quality cannot be recovered, while the web is a bandwidth limited medium where a slow page loses the audience before the poster is seen.
- LA suitable print format is named with properties
- LPrint properties justified
- LA suitable video format is named
- LVideo properties addressed
- LVideo choice justified by platform or audience
- LA suitable audio format is named with properties
- LThe master versus delivery distinction is made
- LAn overall judgement about fitness for purpose
Each deliverable goes to a different destination, and the destination decides the format rather than any general idea of quality. The leaflet is going to a commercial printer, so the artwork should be built in CMYK at around 300 ppi at final trimmed size and delivered as a press ready PDF with bleed, crop marks and fonts embedded or converted to outlines. That specification exists because print is a single irreversible process: a low resolution image or an unexpected colour conversion cannot be corrected after the run, and a missing font substituted by the printer's system would change the design. The social video should be exported as MP4 using the H.264 codec, because that combination plays on effectively every phone, browser and platform, and it should be mastered in the aspect ratio of the feed it is made for rather than cropped later, so a vertical 9:16 or square 1:1 version is framed as such at the shoot. Bit rate should be high enough that motion stays clean after the platform re-encodes it, which it always does, and captions should be supplied or burned in because most feed video is watched with the sound off. The podcast should be recorded and edited as uncompressed WAV at 44.1 kHz and 24 bit, then exported to MP3 at around 128 kbps for distribution, because podcast listeners are usually on mobile data and speech survives that compression well, while editing a lossy file would compound its artefacts. Running through all three is the same principle: the master is kept lossless and layered, and each delivery file is a separate export matched to its destination. Judging fitness for purpose means asking what the file has to survive, a printing press, a platform's own re-encoding, or a listener's data allowance, and choosing the format that survives it.