diff --git a/src/ElementPrinter/Marker/ExtraMarkerPrinter.php b/src/ElementPrinter/Marker/ExtraMarkerPrinter.php index f785791..98287dc 100644 --- a/src/ElementPrinter/Marker/ExtraMarkerPrinter.php +++ b/src/ElementPrinter/Marker/ExtraMarkerPrinter.php @@ -76,7 +76,7 @@ class ExtraMarkerPrinter $point = new Point($destX, $destY); if ($canvas->getImage()->getSize()->contains($markerImage->getSize(), $point)) { - $markerImage->paste($canvas->getImage(), $point); + $canvas->getImage()->paste($markerImage, $point); } return $this;