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

Background turn black in transparent png image after crop #11

Open
dantecoding opened this issue Mar 1, 2017 · 4 comments
Open

Background turn black in transparent png image after crop #11

dantecoding opened this issue Mar 1, 2017 · 4 comments
Labels

Comments

@dantecoding
Copy link

Version library : "jbzoo/image": "3.x-dev",
php gd:
[GD Version] => 2.2.3
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPEG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] => 1
[XBM Support] => 1
[WebP Support] => 1
original image
after crop

@dantecoding dantecoding changed the title Background turn black in transparent png image Background turn black in transparent png image after crop Mar 1, 2017
@SmetDenis
Copy link
Member

Hi,

Try to use "jbzoo/image:3.x-dev" version (or dev-master).

#8

@dmitriyvi
Copy link

Hi. I have the same problem. When i use "$img->thumbnail(380,600)" png image turn black background.
php- 5.5.9
use version library : "jbzoo/image": "3.x-dev".

@kalfeutre
Copy link

HI, same problem for me, when i use the crop with thumbnail on png images, the background getting black.
There's any parameter for keep transparency ?

@SmetDenis SmetDenis added the bug label Apr 1, 2021
@usipcomdevteam
Copy link

has this been fixed?

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

No branches or pull requests

5 participants