Andrew Murray
d682c18ded
Use "gray" more consistently
2023-10-19 19:12:01 +11:00
Andrew Murray
32eec53c43
Removed comment
2023-07-17 23:50:59 +10:00
Andrew Murray
fd310512b9
Set C palette to be empty by default
2023-07-17 23:04:43 +10:00
William Jacobs
9f9e26522e
Fixed bug with rounding pixels to palette
...
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
Andrew Murray
54cb09d8b4
When converting to P, restrict colors to palette size
2022-02-16 11:01:00 +11:00
Andrew Murray
948c064b28
Allow getpalette() to return less than 256 colors
2022-02-16 09:56:13 +11:00
Andrew Murray
46b7e86bab
Format with ClangFormat
2021-01-03 14:17:51 +11:00
Andrew Murray
c1d9931adc
Added braces
2020-05-10 19:56:36 +10:00
Lumir Balhar
2e288e74ab
Fix potential un-terminated buffer problem (CWE-120)
2018-10-02 14:06:08 +02:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00