mirror of
https://github.com/Intervention/image.git
synced 2025-09-03 10:53:01 +02:00
Fix transparency issues with gd driver resizing
This commit is contained in:
@@ -120,6 +120,6 @@ class GdInputHandlerTest extends TestCase
|
||||
$input = 'transparent';
|
||||
$result = $handler->handle($input);
|
||||
$this->assertInstanceOf(RgbColor::class, $result);
|
||||
$this->assertEquals([0, 0, 0, 0], $result->toArray());
|
||||
$this->assertEquals([255, 0, 255, 0], $result->toArray());
|
||||
}
|
||||
}
|
||||
|
@@ -120,6 +120,6 @@ class InputHandlerTest extends TestCase
|
||||
$input = 'transparent';
|
||||
$result = $handler->handle($input);
|
||||
$this->assertInstanceOf(RgbColor::class, $result);
|
||||
$this->assertEquals([0, 0, 0, 0], $result->toArray());
|
||||
$this->assertEquals([255, 0, 255, 0], $result->toArray());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user