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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user