Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNG transparency problem since 6.3.0 #945

Closed
phunehehe opened this issue Jul 6, 2017 · 4 comments
Closed

PNG transparency problem since 6.3.0 #945

phunehehe opened this issue Jul 6, 2017 · 4 comments

Comments

@phunehehe
Copy link

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'
@heynemann
Copy link
Member

Is this still happening?

@phunehehe
Copy link
Author

I just tried using 8cebe12 (the tip of master as of now). It's still the same.

@phunehehe
Copy link
Author

it seems like the fix is just waiting to be merged: #988

@phunehehe
Copy link
Author

\o/

@Kmaschta Kmaschta mentioned this issue Jan 5, 2018
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants