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

RGB/16 to RGB/8 conversion issues


Recommended Posts

Hi,

when I try to convert the document from RGB/16 to RGB/8, black spots will be created in the right-middle area.

 

Best observable when using Chanels panel and choosing only one color channel. The images show green channel.

Image 1: RGB/16 (looks ok)

923478866_Screenshot2023-05-31at22_25_05.thumb.png.21cb4ccde3218d24053015ec793bc736.png

Image 2: RGB/8 (black pixels are wrong)

98357513_Screenshot2023-05-31at22_25_33.thumb.png.f0542c05ba7e4b0adc9b2656994103bd.png

Image 3: Conversion

519833434_Screenshot2023-05-31at22_25_24.png.013e4e4793d79dd8339d2cb9336b6fde.png

alpha channel packing.afphoto

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

The issue is probably caused by the alpha channel which is almost zero in that area. the loss of the lower 8 bit causes an unexpected effect.

I would expect that the color channels and alpha get converted individually. It seems that the least significant bit get rounded randomly to 0 or 1, so the color channels get erased where alpha gets zero. 

The "all 8 bit colors" was generated with help of PT filters (so no dithering has happened there), then I added a rectangle with conical gradient on alpha (which may create the unwanted dithering, even if color is pure white at all nodes).

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

I repeated the test, using a PT filter to create a linear gradient, and rectangle to polar filter. The only difference to a regular fill ist that no forced dithering gets applied. Using that layer no black dots occur.

So the issue is created by forced dithering applied even to alpha channel when using gradients.

Can be closed, i will bump the feature requests to get rid of forced dithering.

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

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.