You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As one can see, test cases where alpha channel not set to 255 failed. (I forgot to change the Color value of TEST_CASE(WritePNG_CorrectlyWritesImagePixels_green_halg))
The text was updated successfully, but these errors were encountered:
As far as I can tell, you've changed your PR to only write and read RGB channels in the PNG case so I can't check how you were reading back the image.
Could you investigate what happens when you read the image back, and why the alpha channel would be lost?
I'm pretty sure this is working correctly. A good way to double check would be to render one of the test scenes in sandbox/tests/test scenes/alpha/, say scene #16, using a PNG version of leaf.exr.
I was writing experimental unit tests for png as suggested by @oktomus because Color4b(50, 100, 150, 42) does not work.
As one can see, test cases where alpha channel not set to 255 failed. (I forgot to change the Color value of
TEST_CASE(WritePNG_CorrectlyWritesImagePixels_green_halg)
)The text was updated successfully, but these errors were encountered: