Skip to content

DSIG black palettes #91

@priverop

Description

@priverop

Describe the bug
When reading any Binary .dig file we read 16 palettes of 16 colors (32 bytes) or a single palette of 256 colors. This is not right because most of these files don't have 16 palettes. So we end up with 1 palette and 15 black palettes, which messes up the quantization when importing.

Image _This one only have 1 palette as you can see._

Expected behavior
We shouldn't have black "fake" palettes. The converter should skip the 00s and only read the exact palettes.

The main difficulty here is when importing the .dig file with no original file. We need to think how are we writing the 00s back. Maybe there is a padding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggraphics

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions