Jump to content

Resizing pixel art by nearest neighbor algorithm

Recommended Posts

Hi, I’m using Affinity Photo on iPad and having fun. Yesterdays update was great.

I’m trying to resize my pixel art drawn on a small 48x48 canvas to x3 size.

I used the resize menu and selected “pixel”. I want to make sharp accurate images, but the result has anti-ailiasing and gets soft. I tried both xBR and hqx modes.


Is there a way to resize like nearest-neighbor option in photoshop?

If not, I wish it comes on an update.



Share this post

Link to post
Share on other sites

Hi kamone, you can use nearest neighbour resampling which should give you the sharp-edged result you're after (XBR and HQX, whilst useful, won't give you the result you want). Nearest Neighbour resampling is under normal document resizing, so on the resize dialog all you need to do is set Resize to Document - look for the Sampler option and set that to Nearest for nearest neighbour resampling. Hope that helps!


Also worth noting is that XBR and HQX both only work as intended with proper 1:1 pixel art created from scratch - that is, every pixel is unique and represents itself. Images that have been downscaled or are "emulated" pixel art end up looking odd and "painterly" when upscaled with these filters.

Affinity Photo Video Tutorials - Affinity Photo for iPad Tutorials

Looking for a manual/documentation? Check affinity.help for online help!

@JamesR_Affinity for tutorial sneak peeks and more

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.