• Ell's avatar
    Issue #2405 - Rotation center shifts by half a pixel ... · c271992a
    Ell authored
    ... the second time you do a 180 degrees rotation
    In gimp_transform_resize_adjust(), nudge the transformed layer
    boundary by EPSILON toward the center, to avoid enlarging the layer
    unnecessarily, as a result of numeric error amplified by rounding,
    when the tranformed boundary should land on integer coordinates.
    In particular, this avoids enlarging the layer when rotating by 180
gimp-transform-resize.c 26.3 KB