Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Some transparent PNGs have black inserted as the background colour #987

@onassar

Description

@onassar

Thumbor request URL

Broken:
Original: https://s3-us-west-2.amazonaws.com/app.local.getstencil.com/upld6878b91f
Resized: https://d32q3izcmhqbti.cloudfront.net/174x0/upld6878b91f

Working:
Original: https://s3-us-west-2.amazonaws.com/app.local.getstencil.com/upld65b35218
Resized: https://d32q3izcmhqbti.cloudfront.net/174x0/upld65b35218

Expected behaviour

Any transparent PNGs that are resized should have their backgrounds kept as transparent.

Actual behaviour

Some are having black pixels inserted in place of transparent pixels.

Operating system

OSx / Chrome

Your thumbor.conf

Using through an AWS template, so don't have the config file handy.

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