You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is a bug in the PHPThumb library and it seems abandoned. There is a quick fix in the pull requests and I'm currently using my old fork https://github.com/bacinsky/PHPThumb/tree/develop I'm planning to use Imagine library instead but I'm too busy now unfortunately.
After alter the image the background stays black:
https://s3-eu-west-1.amazonaws.com/esolidar-proto-uploads/brands/580a0aac-1508-435b-bba5-78f800000000-DETAIL.jpg
$thumb1 = $this->thumbnailer->create($path_complete
. $new_filename, $options = [], $plugins = []);
$thumb1->crop($imgData->x, $imgData->y, $imgData->width, $imgData->height);
$thumb1->rotateImageNDegrees($imgData->rotate);
$thumb1->adaptiveResize(200, 200);
$thumb1->save($path_complete . $new_name. '-DETAIL.' . $ext);
The text was updated successfully, but these errors were encountered: