Skip to content

Read transparency chunk from PNG data #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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