1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-21 05:01:20 +02:00
This commit is contained in:
Oliver Vogel
2013-11-13 15:11:58 +01:00
parent ca4c8ba282
commit 2bb7380b5c

View File

@@ -922,11 +922,8 @@ class Image
}
imagealphablending($this->resource, true); // enable alphablending just for imagecopy
imagecopy($this->resource, $obj->resource, $pos_x, $pos_y, 0, 0, $obj->width, $obj->height);
imagealphablending($this->resource, false);
return $this;
}
@@ -1178,6 +1175,7 @@ class Image
} else {
imagealphablending($this->resource, true); // enable alphablending for imagettftext
imagettftext($this->resource, $size, $angle, $pos_x, $pos_y, $this->parseColor($color), $fontfile, $text);
}