1
0
mirror of https://github.com/Intervention/image.git synced 2025-07-31 11:00:12 +02:00

Update GD\Color.php update transparency extraction.

This commit is contained in:
Sergey Kudashev
2022-03-23 16:11:38 +03:00
parent ca2a3c7d9f
commit b626022fa7

View File

@@ -34,7 +34,7 @@ class Color extends AbstractColor implements ColorInterface
public function toArray(): array
{
$a = ($this->value >> 24) & 0xFF;
$a = ($this->value >> 24) & 0x7F;
$r = ($this->value >> 16) & 0xFF;
$g = ($this->value >> 8) & 0xFF;
$b = $this->value & 0xFF;