Beruflich Dokumente
Kultur Dokumente
Note that a digital image has a regular grid of picture elements (pixels) arrayed in
columns and rows within a rectangular boundary. Each pixel has an associated
color. The RGB model is commonly used to represent the intensity of each of the
hues (or colors) red, green, and blue. In the RGB model, black and white are
represented as the absence of intensity of R, G, and B, while white is represented by
the greatest intensity of R, G, and B.
Often, 256 equal steps between no intensity and maximum intensity provide a
fineness of intensity levels of each hue that is satisfactory for most work. In
decimal (base 10) numbers, this represents 0 through 255. There are hexadecimal
numbers (base 16) that correspond to each of the decimal values 0 through 255, and
they are often used instead of decimal numbers to represent these intensities.
Here’s an example:
For example, a color photo which can be copied into the C:\Windows folder to
serve as a “background” OR “wallpaper” must be introduced into that folder in
BMP format if using a Windows 9x operating system. If such an image file is
already of the size which will fill an 800 x 600 pixel screen without stretching, we
can calculate how big that file must be if it has 24-bit color coding.
There are 480,000 pixels and 1,440,000 Bytes. This number is close to the
maximum file size which may be copied onto a floppy disk. Let’s see if it will fit.
Remember that one KiloByte is 1,024 (2 10) Bytes, not 1,000 (10 3 ) Bytes. This
comparison recognizes that there is a different representation of the actual number
of Bytes which are involved, and that there is a factor of 2.4% to account for when
comparing the numeric values assigned to that file size if stated in Bytes or in
KiloBytes. A bigger discrepancy is involved when numeric values are used to
represent a file size in MegaBytes vs. Bytes.
For the case shown above, divide 1.44 x 106 Bytes by 1.024 twice to get
approximately 1.37 MB, which will fit on a floppy disk.