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

Indexed Color .tga Files Treated as Grayscale #2816

Closed
Keranos89 opened this issue Apr 24, 2024 · 1 comment · Fixed by #2881
Closed

Indexed Color .tga Files Treated as Grayscale #2816

Keranos89 opened this issue Apr 24, 2024 · 1 comment · Fixed by #2881
Labels
Backend Issue or PR for the backend server bug Something isn't working

Comments

@Keranos89
Copy link

Information:

  • Chainner version: 0.23.1
  • OS: Windows 10 64 bit

Description
It appears that Chainner doesn't load .tga files with indexed color correctly, instead treating them as grayscale.

When loaded into photoshop:
IndexedTGA

When loaded into Chainner:
IndexedTGA2

And the original image:
_rb_fs1_top4.zip

@Keranos89 Keranos89 added the bug Something isn't working label Apr 24, 2024
@RunDevelopment
Copy link
Member

Neither PIL nor OpenCV support this, apparently. However, Rust's image crate does seem to support indexed TGA's, so we can just add bindings for it

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

Successfully merging a pull request may close this issue.

2 participants