sanitation@lemmy.today to Programming@programming.dev · 2 months agoShould you normalize RGB values by 255 or 256?30fps.netexternal-linkmessage-square22linkfedilinkarrow-up144arrow-down11cross-posted to: lobsters@lemmy.bestiver.se
arrow-up143arrow-down1external-linkShould you normalize RGB values by 255 or 256?30fps.netsanitation@lemmy.today to Programming@programming.dev · 2 months agomessage-square22linkfedilinkcross-posted to: lobsters@lemmy.bestiver.se
minus-squareSolemarc@lemmy.worldlinkfedilinkarrow-up32arrow-down1·2 months 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·2 months 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.