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.
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 callingflattenImages()
has no effect.