gain and gamma should not apply to alpha channel