Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 9 down vote accepted

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.

share|improve this answer
    
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 Jan 19 '11 at 15:04
    
Nice. The result after linear interpolation is a slightly blurry, but the Sharpen filter fixed that up. –  Lie Ryan Jan 19 '11 at 15:22
3  
When upscaling, don't use interpolation. That way you'll get more accurate results. @LieRyan –  oKtosiTe Jan 20 '11 at 10:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.