Jump to content

Interlacing glitch when using certain filters


Recommended Posts

I've been working on a star-field background that I wanted to make procedurally with filters, but I found that certain ones cause a weird interlacing glitch on the right side of the image.
whatthefuc.thumb.jpg.0d23c3f0cb31b6bc9d60ce7467aa51af.jpg

It happens with both the Invert filter and Gaussian Blur filter, but when I zoom in I see that the pixels are being horizontally interlaced for whatever reasonwhatthefuc2.thumb.jpg.5028b11cbc56cf462e835a87ede4ca49.jpg

The effects also seems to change depending on image size, the interlacing happens on 1920x1080 images but a different effect occurs on another image wider than 1792 pixels exactlywhatthefuc3.jpg.cc917448582adcf039ab5556e20946c6.jpg

The version I am on is 4.3.8 (β 4.308.8079.34870) and this only happens on images with a width of at least 1793 pixels wide
Edit: Corrected "Clouds" to "Invert"

Edited by Nuxx1876
incorrect filter
Link to comment
Share on other sites

This is happening before you save the image? As in, it's what you see on-screen before saving and re-loading the image? (I ask because the HEIC codec is known to have some stupid bugs in it. not @null54's HeicFileTypePlus plugin, I mean the built-in one that's powered by Microsoft's HEIC codec)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Oh, actually I am seeing this with Gaussian Blur, just not with Clouds

 

I should be able to fix this for 4.3.8, which was about to go out soon, but this is important enough to delay it.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Alright, found the bug, fixed it. T'was a typo, it just so happens that for a 1920x1080 image, the tiles at the far-right edge of the image have a width equal to half the height (128x256, in other words), triggering the bug:

 

image.png

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

It will occur with any of the effects that run on the GPU (Invert doesn't actually run on the GPU but it uses the GPU effect framework, and forces it to run on the CPU)

 

Gaussian Blur

Motion Blur

Radial Blur

Turbulence

Invert Colors

Black & White

Morphology

Pixelate

Edge Detect

Relief

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

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.

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.

 Share

×
×
  • Create New...