[PyQt] PyQt: colorTable, grayscale

Matt Smith melkor at orangepalantir.org
Sun Jan 18 17:02:40 GMT 2009


I'm working on some image analysis, and displaying the result.  One of
the problems I have is grayScale.  I don't mind using 8bit for display,
but is there a default grayScale color table?  I suppose I could make
one, but it would be nice to import one.

Also I loaded a tiff image with 16 bit gray scale, Does QImage open this
intact so if I get a pixel it will give me the correct value?  Right now
it tells me it is a 32 bit image of the ARGB type.

thanks
mbs



More information about the PyQt mailing list