Sign in to follow this  
gohkgohk

Problem on the control BMP brightness

Recommended Posts

gohkgohk    100
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.

Share this post


Link to post
Share on other sites
MePHyst0    232
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

Share this post


Link to post
Share on other sites
gohkgohk    100
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this