Jump to content
You must now use your email address to sign in [click for more info] ×

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.

post-64528-0-64845000-1499319526_thumb.png

post-64528-0-53232500-1499319543_thumb.png

Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

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.

Product Expert (Affinity Photo) & Product Expert Team Leader

@JamesR_Affinity for tutorial sneak peeks and more
Official Affinity Photo tutorials

Link to comment
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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.