floopyb
02-22-2012, 10: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
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
