mirror of
https://github.com/Intervention/image.git
synced 2025-08-24 14:32:52 +02:00
Set alpha blending before writing ttf text with GD driver
This commit is contained in:
@@ -27,6 +27,7 @@ class TextModifier extends AbstractTextModifier
|
|||||||
foreach ($image as $frame) {
|
foreach ($image as $frame) {
|
||||||
if ($this->font->hasFilename()) {
|
if ($this->font->hasFilename()) {
|
||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
|
imagealphablending($frame->native(), true);
|
||||||
imagettftext(
|
imagettftext(
|
||||||
$frame->native(),
|
$frame->native(),
|
||||||
$this->adjustedFontSize(),
|
$this->adjustedFontSize(),
|
||||||
|
Reference in New Issue
Block a user