mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 20:51:20 +02:00
bugfix
This commit is contained in:
@@ -922,11 +922,8 @@ class Image
|
|||||||
}
|
}
|
||||||
|
|
||||||
imagealphablending($this->resource, true); // enable alphablending just for imagecopy
|
imagealphablending($this->resource, true); // enable alphablending just for imagecopy
|
||||||
|
|
||||||
imagecopy($this->resource, $obj->resource, $pos_x, $pos_y, 0, 0, $obj->width, $obj->height);
|
imagecopy($this->resource, $obj->resource, $pos_x, $pos_y, 0, 0, $obj->width, $obj->height);
|
||||||
|
|
||||||
imagealphablending($this->resource, false);
|
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1178,6 +1175,7 @@ class Image
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
imagealphablending($this->resource, true); // enable alphablending for imagettftext
|
||||||
imagettftext($this->resource, $size, $angle, $pos_x, $pos_y, $this->parseColor($color), $fontfile, $text);
|
imagettftext($this->resource, $size, $angle, $pos_x, $pos_y, $this->parseColor($color), $fontfile, $text);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user