Closed olivervogel closed 2 months ago
In the case of an image with (semi) transparency, e.g. a PNG format, the transparent areas are lost if the output format is GIF format and the size is changed. This happens only with GD driver.
$image = ImageManager::gd() ->read($path) ->resize(300) ->toGif();
Fully transparent areas should be retained in GIF output.
Fixed in 9f5e0624d4b8d073f58f8bfef71ba8363d9fb688.
Describe the bug
In the case of an image with (semi) transparency, e.g. a PNG format, the transparent areas are lost if the output format is GIF format and the size is changed. This happens only with GD driver.
Code Example
Expected behavior
Fully transparent areas should be retained in GIF output.
Images
Input
Output
Environment (please complete the following information):