diff --git a/src/Image/Image.php b/src/Image/Image.php index fc53dd8..60b4ad9 100644 --- a/src/Image/Image.php +++ b/src/Image/Image.php @@ -150,7 +150,7 @@ public function setBorderRadius(int $cornerRadius): self */ public function setOpacity(float $opacity): self { - if(empty($opacity) || $opacity == 1) { + if((empty($opacity) && $opacity !== 0) || $opacity == 1) { return $this; } $this->image->setImageAlpha($opacity);