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

thumbnail of transparent png or gif has black background with some gd versions #938

Open
raffaelj opened this Issue Nov 22, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@raffaelj
Contributor

raffaelj commented Nov 22, 2018

I have a host where all thumbnails of transparent png and gif files have black backgrounds. The bestFit method works fine, so the previews in assets manager or in collection entry view look correct. But on collection entries view, the method is thumbnail instead of bestFit and everything turns black.

Sample: the first img as jpg and the second is transparent png:
simpleimage-thumbnail-black-bg

I already fixed this, but we have to wait for my PR in claviska/SimpleImage or a similar solution.

see this issue for more details:
claviska/SimpleImage#236
claviska/SimpleImage#237

@raffaelj raffaelj changed the title from thumbnail of transparent png has black background with some gd versions to thumbnail of transparent png or gif has black background with some gd versions Nov 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment