chaiNNer-org/chaiNNer

Indexed Color .tga Files Treated as Grayscale

Closed this issue · 1 comments

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

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