KS4J834 R093 TA4 26 min read 10 question quiz 22 exam marks

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 ofA grid of pixelsMathematical paths and shapes
ScalingBlurs or pixelates when enlargedScales to any size with no loss
SuitsPhotographs, detailed texturesLogos, icons, diagrams, type
File sizeGrows with dimensions and colour depthGrows with the number of shapes
FormatsJPG, PNG, GIF, TIFF, BMP, WEBPSVG, AI, EPS, PDF

The formats themselves

FormatCompressionTransparencyUse it for
JPGLossyNoPhotographs, where small size matters more than perfect fidelity
PNGLosslessYes, full alphaGraphics with flat colour, screenshots, anything needing transparency
GIFLossless, 256 coloursYes, 1 bit onlySimple animation; obsolete for still images
TIFFLossless or noneYesPrint production and archive masters
SVGNone, it is textYesLogos, icons and diagrams on the web
WEBPLossy or losslessYesModern web images, smaller than JPG at the same quality
PDFMixedYesSending a finished layout to print or to a client
Choose by the job, not by habit

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.

Raster and vector under enlargementThe same mark enlarged four times, drawn twice. The top row is a raster version: the shape is stored as a grid of pixels, so enlarging it simply makes each pixel bigger, and by four times the curve has become a visible staircase of squares. The bottom row is a vector version: the shape is stored as a mathematical path, so at every size the curve is recalculated and stays perfectly smooth. Raster formats, JPG, PNG, WEBP and TIFF, are the right choice for photographs, because a photograph genuinely is detail recorded per pixel. Vector formats, SVG, AI, EPS and PDF, are the right choice for logos, icons, diagrams and type, because one file then serves everything from a sixteen pixel favicon to a billboard.The same mark, enlarged four times1x2x3x4xRASTERpixels: enlarging makes the pixels biggerVECTORpaths: enlarging recalculates the curveRaster is right for photographsJPG, PNG, WEBP, TIFFDetail per pixel is exactly what a photo isVector is right for logos and typeSVG, AI, EPS, PDFFavicon to billboard from one file
A logo delivered only as a JPG is a logo that cannot go on a van.
Lossy, lossless and vector, and choosing a format by purposeThree kinds of file format and how to choose between them. Lossy formats such as JPG, MP3 and MP4 permanently discard data to make files much smaller, and quality drops a little more every time the file is re-saved, so they belong at the final export and never as the working master. Lossless formats such as PNG, WAV and TIFF keep every bit, so files are larger but re-saving costs nothing, which is what you want while still working. Vector formats such as SVG store shapes as mathematics rather than pixels, so they scale to any size with no loss and stay tiny for flat graphics, which is why logos are vector. Choosing in an exam means reading the purpose: a photograph on a web page is JPG, a logo over a colour is PNG or SVG for the transparency, a print poster is a PDF in CMYK at 300 dots per inch, a social media video is MP4 using H.264, and a master audio recording is WAV.Which format, and whyLOSSYData is permanently removedMuch smaller filesQuality drops each re-saveJPG MP3 MP4Use for the final export, never for the masterLOSSLESSEvery bit is keptLarger filesRe-saving costs nothingPNG WAV TIFFUse while you are still working on itVECTORShapes stored as mathsScales to any sizeTiny files for flat graphicsSVG AI EPSUse for logos and anything that must resizePurposeFormatWhyPhoto on a web pageJPGSmall, no transparency neededLogo on a colourPNG or SVGTransparency, scales cleanlyPrint posterPDF, CMYK, 300dpiLayout and fonts preservedSocial media videoMP4 H.264Supported everywhereMaster recordingWAVLossless until the final export
Format questions are really purpose questions. Say what the product has to do, then name the format that does it.

Audio, video and document formats

Audio

FormatCompressionUse
MP3LossyDistribution, podcasts, music where size matters
AAC / M4ALossyBetter quality than MP3 at the same size; streaming and Apple devices
WAVUncompressedRecording and editing masters
AIFFUncompressedAs WAV, on Apple systems
FLACLosslessArchiving without quality loss

Video

FormatNotes
MP4 (H.264)The universal delivery format. Plays everywhere
MOVApple's container, common in production
AVIOlder Windows container, large files
WMVOlder Windows format, heavily compressed
MKVFlexible 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
Common audio, video and document file formats, and the size of a song as WAV and as MP3Common file formats in three groups. Audio: MP3 is lossy and small, WAV is lossless and large, and AAC is lossy and efficient. Video: MP4 is small and plays everywhere, MOV is used for editing and is larger, and AVI is old and large. Documents: PDF has a fixed layout, DOCX can be edited, and TXT is plain text only. A bar chart compares one three minute song: as a WAV, which keeps every sample, it is about 31.8 megabytes, and as a 128 kilobit per second MP3, which is lossy, it is about 2.9 megabytes, roughly a tenth of the size.Audio1MP3lossy, smallWAVlossless, largeAAClossy, efficientVideo2MP4small, widely usedMOVediting, largerAVIold, largeDocument3PDFfixed layoutDOCXcan be editedTXTplain text onlyThe same 3 minute song in two formats4WAV31.8 MBevery sample kept: losslessMP32.9 MB128 kbps: lossy, about a tenth of the size
  1. Audio formats trade quality against size: lossless WAV is large, lossy MP3 and AAC are small.
  2. Video: MP4 is the safe choice for sharing, MOV and AVI suit editing or are old.
  3. Documents: PDF keeps the layout, DOCX can be edited, TXT is plain text.
  4. The same song is about ten times smaller as an MP3 than as a WAV.
Choose the format for the job: editing wants quality, sharing wants a small file that plays on every device.

Properties, compression and fitness for purpose

Properties that get examined

PropertyWhat it meansWhy it matters
ResolutionPixels per inch, or total pixel dimensions72 ppi is fine on screen; print needs about 300
DimensionsWidth and height in pixels or millimetresDecides whether an image can fill its space
Colour depthBits per pixel24 bit gives 16.7 million colours; 8 bit gives 256
Colour modeRGB or CMYKScreens are RGB; printing presses are CMYK
Aspect ratioWidth to height16:9 landscape, 1:1 square, 9:16 vertical
Frame rateFrames per second25 fps UK broadcast, 24 cinema, 50 or 60 for sport
Bit rateData per secondThe main control over video and audio quality and size
Sample rateAudio samples per second44.1 kHz is CD quality
Bit depth (audio)Bits per sample16 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.

DestinationNeeds
Print posterCMYK, 300 ppi, PDF or TIFF, with bleed
Website hero imageRGB, around 72 to 144 ppi, JPG or WEBP, compressed to a few hundred kilobytes
Logo for any useSVG master, with PNG exports at the sizes needed
Social videoMP4 H.264, correct aspect ratio for the platform, captions burned in or supplied
PodcastMP3 at 128 kbps mono or stereo, from a WAV master
RGB sent to a printing press

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.

Lossless and lossy compression comparedTwo rows comparing lossless and lossy compression. The lossless row, covering PNG, FLAC, ZIP and TIFF, shows an original sequence of blocks compressed into a smaller file and then opened again, with the result identical to the original, because nothing was discarded. The lossy row, covering JPG, MP3, MP4 and AAC, shows the original being saved three times in succession, and the blocks fade a little more with each save: every re-save discards more detail permanently, so the quality degrades generation by generation and nothing can be recovered. That is the practical reason for keeping a lossless master and exporting a lossy copy for delivery, rather than editing and re-saving the export.Lossless gives it back. Lossy never does.LOSSLESSPNG · FLAC · ZIP · TIFForiginalcompresssmaller fileopenidentical to the originalnothing was discardedLOSSYJPG · MP3 · MP4 · AACoriginalre-savesave 1re-savesave 2re-savesave 3Each save discards more. The detail is gone and cannot be recovered, which is why you edit the master and export a copy.
Open and re-save the same JPG two hundred times and it turns into coloured blocks.
RGB and CMYK comparedTwo sets of three overlapping circles, comparing additive and subtractive colour. On the left, RGB: red, green and blue circles overlap and their centre is white, because screens emit light and adding all three gives white. On the right, CMYK: cyan, magenta and yellow circles overlap and their centre is black, because ink absorbs light and adding all three approaches black. The table underneath compares them. RGB is used by screens, phones and projectors; CMYK by printing presses and office printers. RGB has three channels; CMYK has four, the fourth being key, or black. RGB has the wider gamut, so bright greens and cyans visible on screen dull down when converted to CMYK. RGB artwork needs only 72 to 144 pixels per inch; CMYK print artwork needs around 300 pixels per inch at final size. RGB is delivered as JPG, PNG, WEBP or SVG; CMYK as a press ready PDF or TIFF. The colour mode should be chosen from the destination at the start of the project, because converting at the end is when the colour shift becomes a surprise.RGB adds light. CMYK subtracts it.whiteRGBscreens emit light: add all three and you get whiteblackCMYKink absorbs light: add all three and you approach blackUsed byscreens, phones, projectorsprinting presses, office printersChannelsred, green, bluecyan, magenta, yellow, key (black)Gamutwider: bright greens and cyansnarrower: those colours dull downResolution72 to 144 ppi is plentyabout 300 ppi at final sizeDeliver asJPG, PNG, WEBP, SVGpress-ready PDF or TIFFChoose the mode from the destination at the start. Converting at the end is where the surprise happens.
Design a poster in RGB and the greens you chose will not be the greens that print.

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.

DefineRaster
AnswerAn image stored as a grid of pixels.
DefineVector
AnswerAn image stored as mathematical paths, scalable without loss.
DefineLossy compression
AnswerCompression that permanently discards data to reduce file size.
DefineLossless compression
AnswerCompression that reduces size with no data lost.
DefineResolution
AnswerThe pixel density of an image, measured in pixels per inch.
DefineColour depth
AnswerThe number of bits used per pixel, which sets how many colours are possible.
DefineCodec
AnswerThe method used to encode and decode a video or audio stream.
DefineContainer
AnswerA file format such as MP4 that holds encoded audio and video streams.

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

Avoid these
  • 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.
Fun fact

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

0 of 10 answered
1Which format should be used for a logo that must scale to any size?
2Which of these uses lossy compression?
3What resolution is normally required for commercial print?
4A graphic needs a transparent background on a web page. Which format?
5Which colour mode is used for printing?
6What is the difference between a container and a codec?
7Why should you not edit and re-save a JPG repeatedly?
8Which audio format would you record and edit in?
9A video is for a vertical social media feed. Which aspect ratio?
10What does bit rate control in a video file?
Score 0 / 10

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.

22 marks
1State one suitable file format for each of the following, and give a reason for each choice:(a) a photograph on a web page (b) a company logo4 marks
State

Mark scheme0 / 4
  • 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
Model answer

(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.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Explain the difference between lossy and lossless compression, using an example of each.4 marks
Explain

Mark scheme0 / 4
  • LLossy defined as permanently discarding data
  • LA correct lossy example
  • LLossless defined as reducing size with nothing lost
  • LA correct lossless example
Model answer

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.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3A designer has produced a poster that will be printed professionally and also published on the client's website.Explain the properties the two versions must have, and why they differ.6 marks
Explain

Mark scheme0 / 6
  • 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
Model answer

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.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4A media company is delivering a campaign as a printed leaflet, a social media video and a podcast episode.Discuss the file formats and properties each deliverable requires, and justify your choices.8 marks
Discuss

Mark scheme0 / 8
  • 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
Model answer

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.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 22