8000 Remove support for single color transparency · Issue #373 · libgd/libgd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove support for single color transparency #373
Open
@cmb69

Description

@cmb69

libgd still supports single color transparency by means of gdImage.transparent. This was done for backward compatibility with GD 1, which didn't support full alpha channels, and doesn't appear to be necessary nowadays (semi-transparency is supported by "all" somewhat contemporary browsers). The benefit of removing the support for single color transparency would be simplification of the code base, and also easier understanding for our users. For instance, gdImageCopyMerge() ignores alpha channels, but respects the single color transparency, what obviously causes some confusion and different behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0