WebinoImageThumb
WebinoImageThumb copied to clipboard
After save image background black
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);
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.