I have a selection I want to enlarge using nearest neighbour. I don't want to scale the whole image, just a selection. Is this possible?

  • Is there a particular reason why you want to use nearest neighbor instead of one of the higher quality interpolation algorithms? AFAIK, aside from speed (though these days, even browsers use bilinear or bicubic interpolation for live resizing of images) the only advantage of using nearest neighbour interpolation is to preserve edges in pixel art. – Lèse majesté Jan 9 '12 at 15:56
  • I don't think so. I've always cut-n-pasted into new file, scaled the entire image via nearest neighbor, then pasted that back into the original. – DA01 Jan 9 '12 at 16:16
  • @Lèsemajesté Yes. Quality or speed don't come into it, I'm enlarging a small area of a screenshot to a large size to show pixel-level detail. Enlarging with bilinear makes the result a fuzzy mess. – fredley Jan 9 '12 at 16:37

Ok, I've worked this one out. Photoshop has a single, global setting to determine the scaling algorithm used, for everything. It is in Preferences > General > Image Interpolation. Setting this will make all image scale transforms use this algorithm.

So set this to nearest neighbour, perform the scale, change it back, is the rather tedious solution.

UPDATE FOR CS6: In order to change interpolation in Free Transform mode, one must select it from the options bar when transforming. The setting in preferences now has no effect on Free Transform.

enter image description here

  • I will, but I have to wait 2 days... – fredley Jan 9 '12 at 23:28
  • Note that the CS6 method does not work for Smart Objects. For those, the Preferences > General > Image Interpolation method is needed. – supertrue Mar 20 '14 at 5:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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