mirror of
https://github.com/Intervention/image.git
synced 2025-09-02 10:23:29 +02:00
Add ability to read Imagick or GDImage directly (#1329)
This commit is contained in:
@@ -34,6 +34,13 @@ final class InputHandlerTest extends BaseTestCase
|
||||
$this->assertInstanceOf(Image::class, $result);
|
||||
}
|
||||
|
||||
public function testHandleGdImage(): void
|
||||
{
|
||||
$handler = new InputHandler();
|
||||
$result = $handler->handle(imagecreatetruecolor(3, 2));
|
||||
$this->assertInstanceOf(Image::class, $result);
|
||||
}
|
||||
|
||||
public function testHandleSplFileInfo(): void
|
||||
{
|
||||
$handler = new InputHandler();
|
||||
|
Reference in New Issue
Block a user