The Student Room Group

GCSE computing

I need help on this question please.


The image in FIGURE 2 is going to be changed
so that each pixel can be any one of
16 different colours.
What is the MINIMUM number of bits that would
be needed to represent the entire
16-colour image?
You should show your working. [2 marks]
(edited 3 years ago)
both pngs come up as the same for me not sure if intentional, but for question 1 its pretty easy just do width * height 8*8 with is 64 and 1 bit per pixel as you only need 2 colours per pixel (1 and 0), but for each of the pixels to have an option to be 16 colours you need the lowest amount of binary numbers to make 15 (including 0 as a different number)then times that by 64 so you do 4*64 which equals 256 bits, hope this answers your question
Reply 2
Original post by redish1111
both pngs come up as the same for me not sure if intentional, but for question 1 its pretty easy just do width * height 8*8 with is 64 and 1 bit per pixel as you only need 2 colours per pixel (1 and 0), but for each of the pixels to have an option to be 16 colours you need the lowest amount of binary numbers to make 15 (including 0 as a different number)then times that by 64 so you do 4*64 which equals 256 bits, hope this answers your question

Thank you so much, makes so much sense! I was just being dumb for a second. ty again :smile:

Quick Reply

Latest

Trending

Trending