kinda lame to use "brightness" as an analog for exposure, they're really not the same thing, at the very least do the transformation in a deeper color space before displaying it to the screen, the source images almost certainly have more than the 8 bits being used here