Skip to content

Error loading greyscale + alpha files with PngImporter #71

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

Closed
williamjcm opened this issue Oct 28, 2019 · 1 comment
Closed

Error loading greyscale + alpha files with PngImporter #71

williamjcm opened this issue Oct 28, 2019 · 1 comment

Comments

@williamjcm
Copy link
Contributor

williamjcm commented Oct 28, 2019

When loading a greyscale + alpha PNG file using PngImporter, the importer crashes with the following error:

Trade::PngImporter::image2D(): unsupported color type 4

Here's an image using that format:
arms_sheet_mask

@mosra mosra added this to the 2019.1c milestone Oct 28, 2019
@mosra
Copy link
Owner

mosra commented Jun 25, 2020

Hah, this kinda fell through the cracks, sorry about that.

Fixed in 8b60cd4, together with adding support for two-channel tRNS images (which were even non-gracefully asserting).

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

No branches or pull requests

2 participants