sanitation@lemmy.today to Programming@programming.dev · 15 days agoShould you normalize RGB values by 255 or 256?30fps.netexternal-linkmessage-square20linkfedilinkarrow-up142arrow-down11cross-posted to: [email protected][email protected][email protected]
arrow-up141arrow-down1external-linkShould you normalize RGB values by 255 or 256?30fps.netsanitation@lemmy.today to Programming@programming.dev · 15 days agomessage-square20linkfedilinkcross-posted to: [email protected][email protected][email protected]
minus-squareSolemarclinkfedilinkarrow-up31arrow-down1·15 days agoMy opinion on this will always be that there are only 2 valid answers; 0-255 or 0-1 Either a u8 or a float.
minus-squareferret@sh.itjust.workslinkfedilinkEnglisharrow-up10·15 days agoI thought the same thing too, but the article doesn’t disagree. Article is actually about converting between the two. It’s an interesting read, I encourage it.
My opinion on this will always be that there are only 2 valid answers;
0-255 or 0-1
Either a u8 or a float.
I thought the same thing too, but the article doesn’t disagree. Article is actually about converting between the two. It’s an interesting read, I encourage it.