|
From: Petr M. <mi...@ph...> - 2006-10-11 21:50:37
|
> Hmm, well let's see. I think one of these is preferred over the other, but > not sure which. With (2), would that mean cb2gray() is altered in some way? no, you would call pow(gray, 1.0/gamma) before writing each pixel to the file. > gray2gamma(cb2gray()). Don't know... I think conceptually we'd like to keep > our data non-tranformed. > I kind of like the way "test palette" behaves. That is a really powerful > tool in a way. I'm thinking to avoid (2). Agreed? Yes. > Let me point out something else I've noticed. Using "test palette", the > gamma correction looks different between X11 and PostScript. Or at least it > looks that way to me. The reason I say that is because in the X11 output I > can't see the "0" within the black area, but I can see "0" within the black > area in the PostScript file. For me, they look pretty similar. (On the other hand, for publications, I like to change gamma...) BTW, there was a bug in 'test palette' which I've just fixed. --- PM |