Changes

Jump to navigation Jump to search

TI.Image

18 bytes added, 21:34, 17 September 2013
Line 31: Line 31:  
Example, converting a RGB color:
 
Example, converting a RGB color:
   −
R=255 → R = 31 (because each pixel can only have 5 bits per color)
+
R=255 → R = 31 (because each pixel can only have 5 bits per color)<br />
G=012 → G = 1
+
G=012 → G = 1<br />
B=123 → B = 15
+
B=123 → B = 15<br />
 
A= 1 (alpha flag, make that the pixel is visible)
 
A= 1 (alpha flag, make that the pixel is visible)
  
68

edits

Navigation menu