1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-31 17:41:58 +02:00

Draw lines antialiased with gd driver

This commit is contained in:
Oliver Vogel
2023-12-12 18:45:54 +01:00
parent f6e4d0dda4
commit 2622255af8

View File

@@ -16,6 +16,7 @@ class DrawLineModifier extends AbstractDrawModifier
public function apply(ImageInterface $image): ImageInterface
{
foreach ($image as $frame) {
imageantialias($frame->native(), true);
imageline(
$frame->native(),
$this->drawable->start()->x(),