|
From: Petr M. <mi...@ph...> - 2006-10-11 21:01:47
|
> On Wednesday 11 October 2006 10:07 am, Petr Mikulik wrote: >> I have just filled in the enclosed bug (announced to me by another >> gnuplot user) ... could someone figure out an appropriate "filter" >> for the postscript "image" operator so that the gamma correction >> works also for "with image" as it works for "with pm3d"? > > Shouldn't the gamma be a per-image correction rather than something > to do with the current palette? Yes, it is; palette is updated (changed, written to ps file, ...) before each plot > I would have thought that the gamma correction belongs in the routine that > reads in the data. That makes it terminal-independent. No, it is for displaying, as all "set palette" properties. There, postscript is the only terminal that avoids calling cb2color because it implements this function by postscript primitives, so it should do it for "palette gray gamma" as well. --- PM |