Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Codierung von Farben ====== Bildschirme: Einzelne Lichtquellen, Rot-Grün-Blau. Additive Farbmischung. Codierung meist 1 Byte pro Farbkanal, d.h. Werte von 0 bis 255 oder eben 0x00 bis 0xff. Farbenmischen mit dem Handy: https://fginfo.ksbg.ch/~ivo/farbmischung/ {{lehrkraefte:blc:informatik:glf24:url.png}} Verschiedene Web-Standards zum Codieren von Farben zum Ausprobieren: https://www.w3schools.com/colors/colors_picker.asp ===== Codierung von Bildern ===== Jeder Bildpunkt 3 Bytes. Sehr einfaches Dateiformat: ASCII-PNM: <code text bild.pnm> P3 # Created by GIMP version 2.10.30 PNM plug-in 6 6 255 0 0 0 255 220 0 255 220 0 255 220 0 255 220 0 0 0 0 255 220 0 167 0 0 255 220 0 167 0 0 255 220 0 255 220 0 255 220 0 255 220 0 255 220 0 255 220 0 255 220 0 255 220 0 255 220 0 167 0 0 255 220 0 255 220 0 167 0 0 255 220 0 255 220 0 255 220 0 167 0 0 167 0 0 255 220 0 255 220 0 0 0 0 255 220 0 255 220 0 255 220 0 255 220 0 0 0 0 </code> lehrkraefte/blc/informatik/glf24/colors.txt Last modified: 2025/01/21 13:42by Ivo Blöchliger