Moving layers by half pixel (GIMP)

6

1

Is it possible (and how) to move a layer by half pixel (or other float values). I'm drawing a small image where moving a single pixel is too noticeable.

Lie Ryan

Posted 2011-01-19T14:53:58.330

Reputation: 4 101

Answers

11

Increase (scale) the size of the entire image by 2, move the layer over 1 pixel, and then scale the entire image back down. Make sure the image support anti-aliasing.

Joel Coehoorn

Posted 2011-01-19T14:53:58.330

Reputation: 26 787

This technique worked great in paint.net also. – bnieland – 2015-08-12T13:19:59.840

I was about to suggest moving 1 pixel and halfing the intensity of it, and fiddling with it from there. But your method accomplishes it undoubtedly more accurately and easily. Nice! – Aeo – 2011-01-19T15:04:31.850

Nice. The result after linear interpolation is a slightly blurry, but the Sharpen filter fixed that up. – Lie Ryan – 2011-01-19T15:22:43.657

3When upscaling, don't use interpolation. That way you'll get more accurate results. @LieRyan – oKtosiTe – 2011-01-20T10:23:08.453