[rt #69261] fix incorrect image size and color calculations for rotate()
authorTony Cook <tony@develop-help.com>
Fri, 20 Jan 2012 11:16:47 +0000 (22:16 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 20 Jan 2012 11:16:47 +0000 (22:16 +1100)
commitef74691a8438a45387667cc9a178fd63ce1bb051
tree1ad4b8e6466a4f96a64c22a8a83ebdbe9184ec64
parent999f4294d1b765b04c08c37630eccb4d3239ab14
[rt #69261] fix incorrect image size and color calculations for rotate()

and matrix_transform().

For rotate() the calculation used integer abs() instead of fabs() when
calculating the size of the new image.

This made the image a little too small, hiding a bug at the corners
where a very low coverage pixel would reveal another bug where bad
rounding of the output level could result in all samples being maxed
out (8-bit images only.)
Changes
rotate.im