View Full Version : gamma settings and Bitmap UI element

02 February 2012, 11:35 PM
Im having trouble getting an image to display in the right gamma when the Gamma preferences for input gamma is set to 2.2. The images come out too dark.
I have tried opening the image file using openBitmap and then setting the gamma property from 2.2 to 1 but it still displays too dark when assigned to a bitmap UI element.

IDisplayGamma.gamma = 2.2
MyOpenBmp = (openBitMap MyBmpFilename)
MyOpenBmp.gamma = 1
myRollout.myBitmapUI.bitmap = MyOpenBmp

02 February 2012, 06:57 AM
maybe this one c'd help:

CGTalk Moderation
02 February 2012, 06:57 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.