33.1k views
4 votes
Determine the number of bytes necessary to store an uncompressed binary image of size 4000 × 3000 pixels

User Mr Random
by
8.2k points

1 Answer

3 votes

Answer: 1,500,000 bytes.

Step-by-step explanation:

If we assume that we have an image of 4000 pixels (picture elements) wide, by 3000 pixels height, a complete uncompressed image will be represented by 4000*3000= 12,000,000 pixels.

Now, if we are talking of a binary image, this means that each pixel will have, as a maximum, two possible values, so we will need only one bit per pixel.

This means that we will need to store 12,000,000 bits.

As we know, 1 byte=8 bits.

So, we will need 12,000, 000/8 bytes ⇒ 1,500,000 bytes in order to store an uncompressed binary image of size 4000 x 3000 pixels.

User Jimmy Z
by
7.9k points