Skip to content

[1.x] Color index out of range warning #165

Open
@michael-e

Description

@michael-e

PHP throws a "Warning: imagecolorsforindex(): Color index ... out of range in..." if the index returned by imagecolortransparent() is larger than the pallet size of the image in question. This can (and does) happen with GIF images, for example created by Photoshop.

I will send a PR to 1.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions