Jump to content
Paint.NET 5.1 is now available! ×

Incorrect/offset nearest-neighbor scaling when using Resize dialog


Go to solution Solved by Rick Brewster,

Recommended Posts

Posted (edited)

Hi, I've noticed that when scaling images down using nearest-neighbor, the pixels it samples from are offset when using the Resize dialog versus using Move Selected Pixels, particularly causing pixel art to be far blurrier when using Resize (especially when the initial size is not a multiple of desired size):

image.thumb.png.c59608bc8542b3f12d3ac96dcf3370fe.png

Is this behavior a bug? I've tried rescaling this same image in some other programs/libraries like ImageMagick and PIL and they worked fine, producing the exact same result as Move Selected Pixels, so I assume Resize is producing incorrect results here.

Edited by osyu
Posted

Original image:

image.png.4bd4cc048b98a2b4c184b077fb33d3bf.png

For Resize:

- Open Resize dialog, enter 256x192 as the desired pixel size and hit OK

 

For Move Selected Pixels:
- Select the tool and set Quality to Nearest Neighbor
- Manually scale the image by dragging it down to 256x192 in size

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...