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

How to free transform with nearest neighbor?


Recommended Posts

For example in Photoshop I used to be able to do this : select just a thin line and free scale down. But in Affinity it is strange that it averages even the alpha not existing in the marquee and kind of applying bilinear all over it, messing it up. How can I temporarily change the resampling algorithm?

 

code.thumb.gif.7828b01d3ddd1105b46c15eddab26556.gif

Link to comment
Share on other sites

  • Staff

Hi @5argon,

Welcome to the forums. 

You can change the viewport resample to Nearest Neighbour by going to Preferences > Performance > View Quality. Make sure you change the resample method to Nearest Neighbour as well. 

You can't currently achieve the "Nearest neighbour" stretch. We are aware of this and it has already been logged with our developers. 

Thanks,

Gabe. 

Link to comment
Share on other sites

  • 1 year later...
On 5/7/2020 at 9:40 PM, TSiOX said:

I know this is an old thread, but that's not really a correct answer or am I the dumb one?

I currently got same problem, how do I free transform with nearest neighbour just like in Photoshop?

Here is a macro to help: Fill alpha of selected pixels.afmacro

Using the macro:

  1. Make your one pixel wide or one pixel high selection.
  2. Press cmd+j (ctrl+j on Windows) to duplicate the selection to a new Pixel object.
  3. Ensure Force Pixel Alignment is enabled then press v key for Move Tool and stretch that new object while the selection marquee (marching ants) is still active.
  4. Run the macro while the selection marquee is still active.

 

Link to comment
Share on other sites

  • 2 years later...

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.