Image icon indicating copy to clipboard operation
Image copied to clipboard

Background turn black in transparent png image after crop

Open dantecoding opened this issue 9 years ago • 4 comments

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 avatar Mar 01 '17 09:03 dantecoding

Hi,

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

https://github.com/JBZoo/Image/issues/8

SmetDenis avatar Mar 04 '17 11:03 SmetDenis

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".

dmitriyvi avatar Mar 13 '17 11:03 dmitriyvi

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 ?

kalfeutre avatar May 26 '19 17:05 kalfeutre

has this been fixed?

usipcomdevteam avatar Dec 30 '21 13:12 usipcomdevteam