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

Bilinear filtering appears to not work


sacb0y

Recommended Posts

image.png

 

I just bought affinity photo, and it appears the viewport bilinear filtering isn't working.

This could be an issue specifically for me cause I'm using a 55" 4K HDR display (the above image is an HDR with 32-bit preview enabled).

For me at any zoom level the image appears to have pixelization the I don't see in photoshop or any other program. The filtering setting in preferences appears to do nothing. 

Link to comment
Share on other sites

If you zoom above 100%, you will see document pixels enlarged. Photo will always respect document pixels and show them pixelated, no matter what view mode you have selected.

The view mode does not change (or smooth) the pixel structure. It mainly influences how the color of document pixels are calculated. This becomes important if you have layers inside the document which have a different DPI (or pixel density) as the document, and use zoom levels below 100%. Another effect is misalignment of layers with detailed structures, which can cause severe blurryness.

The tutorials might help:

 

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

More important is view quality. I would suggest to set it to best (slowest). Otherwise you might get rendering in half resolution, depending on factors like PC performance, GPU driver etc.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Hi, I try to get a better understand of the problem.

Can you provide more details?

  • For screenshots, please include the Navigator panel, which shows the zoom level and a thumbnail of the canvas, and whole app window incl. window frame to see which persona is used
  • Can you please upload one example image (source file, not image)
  • For the screenshots, please describe what we see (left and right side) which app, which settings like zoom, which persona (Photo or Develop)
  • Please add screenshot of Performance settings

If the pixelation you see is in the size of 1 canvas pixel: this is by design. Affinity does not smooth document pixel structure. Bilinear resampling is only used to resample document layers (which may have totally different DPI / pixel size) into the canvas DPI / pixel size.

So if you use a 4K display in 4K resolution, and open a document in 100% zoom level, Affinity Photo should render the document pixels 1:1 to display pixels. These are normally not observable as individual pixels for humans with normal eye sight.

If you zoom in e.g. 1600%, every document pixel will cover 16x16 display pixels, to make the pixel structure visible. If you activate grid in mode "automatic", Affinity will add a visible grid to show the edges of individual document pixels.

When you observe pixelation outside the context described above, we can try to find the cause bur need your support with the listed information.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • Staff
On 1/6/2023 at 11:42 PM, sacb0y said:

I have view quality set to "Bilinear (Best)" and it looks no different than nearest neighbor. 

Quick test:

  1. Place a quick shape
  2. Rasterise it
  3. Scale it smaller
  4. Toggle between Bilinear and Nearest Neighbour
  5. You should then see the difference.

If you do it on a rasterised shape that has not been scaled, you won't see any change. This is where what NotMyFault was saying here - 'This becomes important if you have layers inside the document which have a different DPI (or pixel density) as the document'

Link to comment
Share on other sites

  • 1 month later...
  • Staff

I've just done a comparison on my 4k monitor and I honestly cannot see much of a difference between PS and Affinity - as you say you can probably tell because you're workong on such a large screen. 

I've tried to do a full HDR comparison (in case it makes a difference) but for the life of me I cannot seem to figure out how to enable HDR in Photoshop...

PS vs Affinity Bilinear.png

Though I'm not sure if there will be a huge difference between 8 bit, 16 bit and 32 bit for Bilinear filtering. I couldn't see a difference when changing the mode.

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.