summaryrefslogtreecommitdiff
path: root/src/palette.c
Commit message (Collapse)AuthorAgeFilesLines
* Only memset as much of the error diffusion buffer as is required.Michael Drake2013-10-291-2/+3
|
* Fix buffer length.Michael Drake2013-10-271-1/+1
|
* Add error diffusion to palette based rendering. Only used for bitmap and ↵Michael Drake2012-09-281-2/+30
| | | | scaled bitmap plots. Doesn't do serpentine path, since that would need changes to the common bitmap rendering code.
* Add palette object. Optimise matching colour in case where we chose the ↵Michael Drake2012-09-271-0/+89
palette. In other cases, we still have to seach all the colours, but that doesn't ever seem to be used.