I have the ability to change the brightness & contrast of my grayscale images by changing the 256 entries of the color map (setColorTable()). However, setColorTable() has no effect on an image that hasAlphaChannel(). In the case of hasAlphaChannel() and before setColorTable(), colorTable() returns a valid vector and all of the alpha components are set to opaque even though the image is clearly displayed with transparent. After calling setColorTable(), the colorTable() has the updated values, but the image looks the same. I am sure this is something simple and thank you in advance for your help.
Bookmarks