From: <mi...@ph...> - 2005-08-19 14:06:20
|
>> But at some point, the Postscript terminal has to decide for itself how >> many palette entries it wants. From my reading of the output file, the >> colours of the dots are determined by a single "gray" value, which has >> only four digits of precision -- clearly not enough to handle 24 bit >> colour. This scheme with 4 digits is enough for continous pm3d maps. It should stay as is, as for large maps, every byte written to the datafile counts (nb of points)-times. An easy fix would be to extend the precision if "set palette maxcolors" is larger than 1e4. > So maybe we need to consider one or both of the following changes to > post.trm > > 1) Only some plot styles should use this "optimization". Color assignment > for points, say, could be done by post.trm itself just as it is done by > gd.trm > > 2) The run-time/print-time optimization choice could be toggled by a > suboption to "set term post", but would continue to apply equally to > all plot elements. Or some new call like term->set_palette(be truecolor). Or term->set_trucolor(rgb_or_cmyk_, r, g, b, k) to bypass the current set_palette+set_color mechanism. --- PM |