Represent Image in Bit
The basic idea of representing image is to divide the image in form of small pixels assign a binary code to all different pixels on basis of its color and brightness. The more the size of image means that more number of colors, shades are used in image.
For example if we have to represent an image in BMP format. which is stored as a matrix of pixels, each pixel having a fixed number of bits to represent its color. Like, a 2×2 pixel image with black and white colors can be encoded as 00000000 00000000 11111111 11111111 in BMP. Here each pixel represents (8bit) so we have got this code of 8 digit. The first pair of bytes represents the top-left pixel, which is black (00000000 00000000), the second pair represents the top-right pixel, which is white (11111111 11111111), and so on
What is Bit?
Bit have high importance in computer memory, networks because computer understand the things, codes even multimedia in form of bits. Not in the language we communicate How do they communicate with each other and with us? How do they represent text, images, sounds, and videos? The answer to all these questions lies in the concept of a bit, the most basic unit of information in computing and digital communications.
Contact Us