Skip to content

avoid problems because of implicite rounding in non-separable blend modes

Thomas Freitag requested to merge thomas/poppler:issue_1314_1 into master

Splash uses unsigned char to store color pixel. But in non-separable blend modes int and in some calculations float values are used. To avoid rounding problems because of implicite rounding calculations are now done with int values and when storing int values in unsigned char variables clamp is used!

Merge request reports