FriendsOfCake / cakephp-upload

CakePHP: Handle file uploading sans ridiculous automagic
https://cakephp-upload.readthedocs.io/
MIT License
551 stars 255 forks source link

Add flattenImages option #499

Closed chronon closed 2 years ago

chronon commented 5 years ago

A recent ImageMagick update in an older Ubuntu distribution (14.04.5 LTS) broke existing pdf to jpg thumbnail conversion for us. After some digging, the included change here prevents generated jpg files from having a black background.

Note that $image = $image->flattenImages() isn't a typo, simply calling flattenImages() has no effect.

saeideng commented 2 years ago

I'm not sure we could merge this on very old versions thank you for contribution