Pixelanzahl
Pixelanzahl = Bildbreite (in Pixel) * Bildhöhe (in Pixel)
Farbtiefe
z.B. 8 Bit (bei 256 Abstufungen)
8 Bit = 1 Byte
Farbkanäle
z.B. 3 Kanäle (bei RGB: Rot, Grün, Blau)
Beispielrechnung
Bildmaße: 3000 x 2000 Pixel
Farbtiefe: Rot, Grün, Blau mit je 8 Bit
Lösung:
Pixelanzahl = 3000 Pixel * 2000 Pixel
Pixelanzahl = 6000000 Pixel
Farbtiefe = 8 Bit pro Farbkanal = 1 Byte
Bild-Dateigröße = Pixelanzahl * Farbtiefe * Farbkanäle
Bild-Dateigröße = 6000000 Pixel * 1 Byte * 3 Farbkanäle
Bild-Dateigröße = 18000000 Byte : 1024 Byte pro Kilobyte
Bild-Dateigröße = 17578,125 KByte : 1024 Kilobyte pro Megabyte
Bild-Dateigröße = 17,17 MByte
Aufgabe:
Berechne die Bildgröße eines Bildes mit Pixelanzahl 300 Pixel * 300
Pixel in einer geeigneten Einheit!
a) für ein Graustufenbild (1 Farbkanal mit Farbtiefe 8 Bit)
b) für ein Schwarz-Weißbild (1 Farbkanal mit Farbtiefe 1 Bit)
c) für ein RGB-Bild (3 Farbkanäle mit je 8 Bit)
d) Bildgrößen von 4 Bit Bildern (16 Farben)
Kontrollen
Lückentext >>
Dropdownfelder >>
Graustufenbild >>
Schwarz/weiß Bild >>
True Color Bild >>
16 Farben Bild >>