levo

Data Representation

Bitmap image file size calculations

  • 3 things to know
  • Paper 2
Start revising · £5/month

Overview

The file size formula for bitmaps, worked calculations in bits, bytes, kilobytes and megabytes, working backwards to a width or colour depth, and how resizing changes storage.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

State the formula for the file size of a bitmap image in bits.

Key term

How do you find the file size of a bitmap image in bytes?

Numbers

Calculate the file size in bits of an 800 × 600 image with a colour depth of 1 bit.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    State the formula for the file size of a bitmap image in bits.

    Model answer

    The size in bits is width × height × colour depth. Width and height are in pixels and colour depth is in bits.

  2. 2

    How do you find the file size of a bitmap image in bytes?

    Model answer

    Work out width × height × colour depth to get the size in bits. Divide that total by 8 to give bytes.

  3. 3

    Calculate the file size in bits of an 800 × 600 image with a colour depth of 1 bit.

    Model answer

    The file size is 480,000 bits. Width × height × depth = 800 × 600 × 1 = 480,000.

  4. 4

    Calculate the file size in bytes of a 100 × 50 image with a colour depth of 8 bits.

    Model answer

    The file size is 5,000 bytes. The image needs 100 × 50 × 8 = 40,000 bits, and 40,000 ÷ 8 = 5,000.

  5. 5

    Calculate the file size in kilobytes of a 640 × 480 image with a colour depth of 4 bits.

    Model answer

    The file size is 153.6 kB. The image needs 640 × 480 × 4 = 1,228,800 bits, which is 153,600 bytes.

  6. 6

    Calculate the file size in megabytes of a 1,920 × 1,080 image with a colour depth of 24 bits.

    Model answer

    The file size is about 6.22 MB. The image needs 1,920 × 1,080 × 24 = 49,766,400 bits, which is 6,220,800 bytes.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Algorithms
Programming
Data Representation
Computer Systems

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The table one extra row.
gainslosescopies

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

ASC means sorting from smallest to largest, or A to Z.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data Representation, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.