View Single Post
03/19/24, 01:46 AM   #2
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 14
Oooh.

75 colors unavailable means 256-75=181 colors available per channel.

181*181 = 32761. That's a suggestive looking number!

So with this limitation, they can store two channels in 7 bits instead of 8.

If they needed to reserve two bits out of the RGBA colors as flags, and still wanted to leave as many colors in each channel as possible, that would be one way to do it.

I haven't figured out the algorithm they used to reduce the colors, but since they mostly culled the lower, less-distinguishable hues, it does look kinda deliberate.

Last edited by DewiMorgan : 03/19/24 at 01:50 AM.
  Reply With Quote