Problem on the control BMP brightness

Started by
3 comments, last by gohkgohk 18 years ago
Can i control it using directx? And How can i do this? thx~:)
Advertisement
I don't know if you can do this in DirectX. But the normal way is that you convert the image to another colorspace (HSL or HSV). Change the luminance. Convert the image back to BMP.
Quote:Original post by EmmetjeGee
I don't know if you can do this in DirectX. But the normal way is that you convert the image to another colorspace (HSL or HSV). Change the luminance. Convert the image back to BMP.


thx:)
In fact ,i want the bmp file which display on screen become brighter and brighter.
but other thing on screen still unchange.

or you can always fake it with blending the original BMP texture with an absolutely white one, I think it will do the job and it certainly will be faster that converting the image format and HW accelerated as well
Quote:Original post by MePHyst0
or you can always fake it with blending the original BMP texture with an absolutely white one, I think it will do the job and it certainly will be faster that converting the image format and HW accelerated as well

but i have a lot of picture in my program,
it may use a lot of storage space

This topic is closed to new replies.

Advertisement