Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png not showing correct values #219

Open
Chadt54 opened this issue Jan 3, 2024 · 1 comment
Open

png not showing correct values #219

Chadt54 opened this issue Jan 3, 2024 · 1 comment

Comments

@Chadt54
Copy link

Chadt54 commented Jan 3, 2024

There should be a second green checkmark and red X underneath the visible ones, but tev doesn't show the values when you zoom in. Seems like they are being premultiplied?

Reference screenshot:
image

Original File:
AlphaBlendModeTest_Labels

@Tom94
Copy link
Owner

Tom94 commented Jan 3, 2024

Yes, that's correct. tev always represents colors with pre-multiplied alpha and converts other formats, like PNG, on load. It also converts to linear colors, so it wouldn't directly display the bytes from the PNG image, even if colors weren't getting pre-multiplied.

I'm afraid this is something I am not willing to change or add toggles for -- it's the standard for HDR image rendering and compositing software which tev targets. (And my personal opinion is that every image format should have pre-multiplied alpha by default in any case. I'll save myself the rant and link this glorious video. :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants