mirror of
https://github.com/Intervention/image.git
synced 2025-08-12 08:54:03 +02:00
Bugfixes
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
namespace Intervention\Image\Drivers\Gd\Modifiers;
|
namespace Intervention\Image\Drivers\Gd\Modifiers;
|
||||||
|
|
||||||
use Intervention\Image\Drivers\Gd\InputHandler;
|
use Intervention\Image\Drivers\Gd\InputHandler;
|
||||||
|
use Intervention\Image\Interfaces\ColorInterface;
|
||||||
use Intervention\Image\Interfaces\FrameInterface;
|
use Intervention\Image\Interfaces\FrameInterface;
|
||||||
use Intervention\Image\Interfaces\ImageInterface;
|
use Intervention\Image\Interfaces\ImageInterface;
|
||||||
use Intervention\Image\Interfaces\ModifierInterface;
|
use Intervention\Image\Interfaces\ModifierInterface;
|
||||||
|
@@ -20,6 +20,10 @@ class ArrayColorDecoder extends AbstractDecoder implements DecoderInterface
|
|||||||
$this->fail();
|
$this->fail();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (count($input) === 3) {
|
||||||
|
$input[] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
list($r, $g, $b, $a) = $input;
|
list($r, $g, $b, $a) = $input;
|
||||||
|
|
||||||
$pixel = new ImagickPixel(
|
$pixel = new ImagickPixel(
|
||||||
|
Reference in New Issue
Block a user