Jump to content

Recommended Posts

Posted

When I load a PNG or TGA texture image file that contains RGBA channels which are different, the RGB channels are modified, become black where alpha is zero.

This is destructive and prevents me from working with such files.

Is there a known work around for this?

I've attached a example file (pngtest1.png) which has R,G,B,A channels which do not align perfectly.  When loaded into a viewer such as XnView, extracting each channel independently will show squiggles in R,G,B but a box mask in A.

EDIT: Uploading attachment fails with error -200.

Searching the forum shows some mention of this issue and the reverse of it, creating images with independent R,G,B,A channels.

One such forum thread is "How to Edit the Alpha Channel" https://forum.affinity.serif.com/index.php?/topic/76911-how-to-edit-the-alpha-channel/page/9/

Ideally I'd like to import and export RGBA images with independent channels and edit them by simply masking via the show/edit toggle buttons which almost work how I expect, but do not due to the alpha channel dependency.

Posted

Hi and welcome to the forum.

As far as i know this is a known limitation, and there is no real workaround.

You would need to ensure that the alpha values are nonzero before opening the file in Affinity apps. You can set them to the lowest value of 1/255, but as soon as you get 0 the damage will be done.

If my memory serves me correct, it was possible in the past to open such a file, and use channels panel>fill on alpha channel to recover RGB values. Can’t find that older post right now. But if you use any other tool to edit the file before that step, the damage will be done.

Older posts relevant:

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

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.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

That is unfortunate. I am trialing Affinity Photo to find an affordable alternative to Photoshop.

Independent editing of channels both color and alpha is critical, as is editing existing texture files.

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.