How much information does a black and white picture consisting of 128 * 256 pixels contain?

Since the picture is black and white, the information volume of one color will be equal to:

N = 2 ^ i

2 = 2 ^ 1

i = 1 bit.

Find the total number of pixels in the image.

To do this, we multiply its sizes among ourselves.

We get:

128 * 256 = 32768 pixels.

32768 * 1 = 32768 bits.

We translate the amount of information into Kbytes.

Since 1 KB contains 1024 bytes, and 1 byte contains 8 bits, we get:

32768/1024 * 8 = 32768/8196 = 4Kb.

Answer:

The picture contains 4 Kbytes of information.




One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.

function wpcourses_disable_feed() {wp_redirect(get_option('siteurl'));} add_action('do_feed', 'wpcourses_disable_feed', 1); add_action('do_feed_rdf', 'wpcourses_disable_feed', 1); add_action('do_feed_rss', 'wpcourses_disable_feed', 1); add_action('do_feed_rss2', 'wpcourses_disable_feed', 1); add_action('do_feed_atom', 'wpcourses_disable_feed', 1); remove_action( 'wp_head', 'feed_links_extra', 3 ); remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'rsd_link' );