Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
TI.Image
18 bytes added
,
20:34, 17 September 2013
→Image data
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)
Jimbauwens
68
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages