WebinoImageThumb icon indicating copy to clipboard operation
WebinoImageThumb copied to clipboard

After save image background black

Open apoca opened this issue 8 years ago • 1 comments

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);

apoca avatar Oct 21 '16 12:10 apoca

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.

bacinsky avatar Nov 13 '16 14:11 bacinsky