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

Export bicubic or higher resampling introduces artifact


TwoKoalas

Recommended Posts

On export to PNG or TIF I'm noticing a solid transition line between two overlapping layers that's not visible in the viewport.
This starts appearing when exporting with bicubic or higher. 

This can be fixed if I manually rasterize the layers before export. I thought of filing this because might expose some error under the hood.

2022_09_09_1515_Photo.png

Bicubic:
export resampling bicubic.png

Bilinear
export resampling bilinear.png

 

export resampling error.afphoto

Edited by TwoKoalas
Link to comment
Share on other sites

Yes, I see the same but I note that your pix layer does not have consistent colour whereas the lowest layer does
If the pix layer is recoloured to be 231 230 228 then it works for any resample algorithm
This is only an observation, I have no explanation

Pixelstuff.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

Thanks for checking this David. I know the values are not the same, but close. It's something I extrapolated and prepared from a real file I was working on.

In any case, I don't see why it should create such a hard transition at the transparency point. Maybe it's an alpha pre-multiplication issue.

Link to comment
Share on other sites

Blimey I'm slow, just noticed that the bottom pixel row of the pix layer is partially transparent. I can't paint over it to make it solid colour, I tried a curve layer set to Alpha but got nowhere so I deleted it and got a surprise. That layer seems to be well and truly buggered and it may well turn me to drink. Good luck

ps I finally outnerded myself and used a rectangle to clip off the lowest two rows of the pix layer and it worked
I shall now have a beer

Pixelstuff-2.png

Pixelstuff-3.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

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.