Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After save image background black #22

Open
apoca opened this issue Oct 21, 2016 · 1 comment
Open

After save image background black #22

apoca opened this issue Oct 21, 2016 · 1 comment
Labels

Comments

@apoca
Copy link
Contributor

apoca commented Oct 21, 2016

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

@bacinsky
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants