About Bitmaps #19
-
Learn about bitmaps and their usage. Any other sources are welcome to discuss. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
A In an image like BMP (short for bitmap), JPEG, PNG, etc each pixel has some value according to image size that results in a specific color. BMP supports 1, 4, 8, 16, 24, and 32 bits color. Each pixel has 3 channels i.e A 8-bit BMP image means each pixel requires 8 bits size and each pixel can have a maximum of 256 (2^8) possible colors. Similarly, for a 16 bits and 24 bits image maximum of 65,536 and 16.7 million possible shades of color can be represented in a pixel. Refer this For a particular [height x weight], if we make pixel smaller then more numbers of pixels can fit into the screen and this results in a higher density of pixels (numbers of pixels per square inch). Because more numbers bits are used to represent the color of each pixel and more numbers of pixels are placed so the image is of higher resolution. BMP is a standard format used by Windows to store device-independent and application-independent images. The number of bits per pixel for a given BMP file is specified in a file header. BMP files with 24 bits per pixel are common. BMP files are usually not compressed and, therefore, are not well suited for transfer across the Internet. |
Beta Was this translation helpful? Give feedback.
-
Illustration of pixel color according to the values of the channelHere is an example of an 8-bits image When all 3 channels have different values and the pixel results in a particular shade.
|
Beta Was this translation helpful? Give feedback.
-
@sabyasachi07 @Tushar7-coder @HembramBeta777 |
Beta Was this translation helpful? Give feedback.
-
Factors affecting image quality
|
Beta Was this translation helpful? Give feedback.
A
bitmap
is a map of bits i.e bitmap is a 2D array of pixels where the image is an array of rows and each row is the array of pixels.In an image like BMP (short for bitmap), JPEG, PNG, etc each pixel has some value according to image size that results in a specific color. BMP supports 1, 4, 8, 16, 24, and 32 bits color. Each pixel has 3 channels i.e
Red
,Green
andBlue
.A 8-bit BMP image means each pixel requires 8 bits size and each pixel can have a maximum of 256 (2^8) possible colors. Similarly, for a 16 bits and 24 bits image maximum of 65,536 and 16.7 million possible shades of color can be represented in a pixel. Refer this
therefore a 24 bits color refers to 8-bits red + 8-bits gr…