This offsets text brightness of pixel brightness values by offsetting it by 127 to the curent pixel value. The text is now readable even if pixels are black.