about summary refs log tree commit diff stats
path: root/src/io
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-08-28 23:57:34 +0200
committerbptato <nincsnevem662@gmail.com>2024-08-29 01:26:47 +0200
commit4ba535852edb9c8ce566cf4e9063e51da3575edd (patch)
tree76384923ec2d4bd25bde52e4abcd7763349f287d /src/io
parentc434776fea51c915b235881c8d2fa14567582018 (diff)
downloadchawan-4ba535852edb9c8ce566cf4e9063e51da3575edd.tar.gz
sixel: fix borked approximation scheme
ok, of course if you search for the nearest entry after setting blue
as the lowest index bits the search will be biased towards blue...

let's just skip the trouble of reconstructing closest color relations
by storing hashes in the octree - this way, I can ensure that the final
merged colors are present in the buckets that getColor then looks at

(while we're at it, also fix the color run merging code in quantize.)
Diffstat (limited to 'src/io')
0 files changed, 0 insertions, 0 deletions