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

Skip to content

PNG transparency problem since 6.3.0 #945

@phunehehe

Description

@phunehehe

Thumbor request URL

http://thumbor-vbox/unsafe/fit-in/60x60/filters:no_upscale()/http://fake.net/cms/app/f/c/sg.png

Expected behaviour

Here's the original:
original

The image should be scaled down:
expected

Actual behaviour

The image appears mostly transparent, except around the edges:
actual

This seems to have started since 6.3.0. 6.2.1 doesn't have the issue.

Operating system

NixOS

Your thumbor.conf

SECURITY_KEY = 'dummy'
ALLOW_UNSAFE_URL = True
LOADER = 'thumbor.loaders.http_loader'
STORAGE = 'thumbor.storages.no_storage'
THUMBOR_LOG_FORMAT = '%(asctime)s %(name)s:%(levelname)s %(message)s'
THUMBOR_LOG_DATE_FORMAT = '%Y-%m-%d %H:%M:%S %s'
QUALITY = 90
OPTIMIZERS = [
    'thumbor.optimizers.jpegtran'
]
JPEGTRAN_PATH = '/nix/store/4ss2dmv9igk3z5xv88la9f38pzcdi2l6-mozjpeg-3.1/bin/jpegtran'

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