sanitation@lemmy.today to Programming@programming.dev · 4 days agoShould you normalize RGB values by 255 or 256?30fps.netexternal-linkmessage-square22fedilinkarrow-up144cross-posted to: color@lemmy.cafe
arrow-up144external-linkShould you normalize RGB values by 255 or 256?30fps.netsanitation@lemmy.today to Programming@programming.dev · 4 days agomessage-square22fedilinkcross-posted to: color@lemmy.cafe
minus-squareSolemarc@lemmy.worldlinkfedilinkarrow-up32·edit-24 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·4 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.