Skip to content

Read transparency chunk from PNG data #2

@allsopp

Description

@allsopp
  • The code currently makes an assumption that the first color in the palette is transparent and the remainder are opaque.
  • That isn't necessarily the case, as documented here.
  • The code should instead read the tRNS chunk to assign transparency to each palette entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions