summaryrefslogtreecommitdiff
path: root/pl/dwimg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-15Backout commit 7f5d3d7; 8 bit display device palette change.Robin Watts1-13/+11
Reverting earlier commit made to attempt to fix bug 692235. While this change does give the display device a much nicer palette to work with in 8 bits, it will break with all code that currently exists to interface to the display device, such as gsview, as the palette is not exported with the data. Due to the looming release and the questions remaining to be answered on the bug, we pull the change for now.
2012-03-15Fix bug 692235: Rendering to 8bit colors shows bad colors.Robin Watts1-11/+13
The display device uses an RGBK space for 8 bit rendering. Currently this corresponds to a palette of 96 colors; 2 bits each for R,G,B, supplemented by 16 greys. This review alters it to use a 6x6x6 RGB cube, supplemented by 40 grey levels. In fact, this is slightly wasteful as we repeat the black and white representations as color and as greyscale, but it's a huge improvement on what we had before. No cluster differences expected as we don't test the display device.
2011-04-19Indent with spaces and strip trailing whitespace.Tor Andersson1-997/+979
2011-04-19Introduce end-of-line normalization.Tor Andersson1-1671/+1671
2011-01-21Add new files needed for the PCL interpreter on Windows to use the display ↵Ken Sharp1-0/+1671
device. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12041 a1074d23-0009-0410-80fe-cf8c14f379e6