Colour mode

Scan .aseprite colour modes and verify they are the correct colour mode.

When it runs

  • An ancestor directory provides pixelartlint.toml with a [tool.pixel_linter.colour_mode] section.
  • The severity of the rule is set to "warn" or "error".

If no colour mode section exists, this rule is skipped for that file.

Severity

One of off, warn or error.

Violations

Aseprite example
sprites/player/walk.aseprite has invalid colour mode:
    expected 'indexed' but uses 'rgba'