A website banner is stored as an uncompressed bitmap that is 800 pixels wide and 600 pixels tall, using 16-bit colour. Ignoring the file header, what is the raw size of the pixel data? Use 1 KB = 1000 bytes and give your answer in KB to the nearest whole number.
Unlock full course notes by signing up
Reducing a poster to a 16-colour palette
A scanned poster is 1200 pixels wide and 900 pixels tall, stored as an uncompressed 24-bit RGB bitmap. It is then converted to use a palette of exactly 16 colours, with each pixel storing just enough bits to identify one of those colours. Ignoring file headers and the palette table itself, find the original raw size in bytes, the raw size after conversion in bytes, and how many times larger the original is than the converted version. Give all three as exact whole numbers.
Decoding a row of palette pixels
A small game icon uses a palette of four colours, with these codes:
One row of the icon is 8 pixels wide and is stored, first pixel first, as the 16 bits below. The bits are printed in groups of four only to make them easier to read.
0001 0110 1111 0100
Effects of changing resolution and colour depth
An uncompressed bitmap is 1000 pixels wide and 800 pixels tall, stored with 8-bit colour. Ignoring file headers, which of the following statements about changing this image are true? Select all that apply.
Shades that fit in an e-reader's frame memory
An e-reader's display is 800 pixels wide and 480 pixels high. Its controller has exactly 96 000 bytes of frame memory to hold one uncompressed greyscale image, and every pixel uses the same number of bits. Take 1 byte = 8 bits.
Find each of the following, as whole numbers:
the total number of pixels on the display