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

Export Level panel from the Level tab is adding a white ring around PNG renders #1448

Open
JParks123 opened this issue Apr 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JParks123
Copy link

Bug Description

Selecting the Export Level panel from the Level Tab to export PNG adds white to the partially transparent pixels.

Steps to reproduce

  1. create a filled sample shape
  2. go to the Level Tab and select Export Level
  3. choose to render it out in PNG

Relevant logs/screenshots

image
image

Software Version

1.4.2

Software Version Information

Latest Tahoma Nightly

Operating System

Windows 11

Graphics Card

Nvidia GTX 1660 max-Q

Drawing Tablet

Wacom

@JParks123 JParks123 added the bug Something isn't working label Apr 17, 2024
@RodneyBaker
Copy link
Contributor

RodneyBaker commented Apr 26, 2024

This seems to be a straight vs premtuliplied alpha issue and since there isn't an option for that in Level Export we will likely get straight alpha in the image. The viewing program/browser then has to allow for premultiplying the alpha channel in order for it to remove the white halo.

Aside: A black halo is a signature signal that the alpha channel premultiplication has been applied... twice; usually once at the creation of the image and then again via the viewer/program diplaying the image.

Straignt vs Premultipled Alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants