We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788858b commit 9fe563fCopy full SHA for 9fe563f
1 file changed
tests/system/Images/GDHandlerTest.php
@@ -332,4 +332,13 @@ public function testImageSave()
332
}
333
334
335
+ public function testImageConvert()
336
+ {
337
+ $this->handler->withFile($this->origin . 'ci-logo.jpg');
338
+ $this->handler->getResource(); // make sure resource is loaded
339
+ $this->handler->convert(IMAGETYPE_PNG);
340
+ $this->handler->save($this->start . 'work/ci-logo.png');
341
+ $$this->assertEquals(exif_imagetype($this->start . 'work/ci-logo.png'), IMAGETYPE_PNG);
342
+ }
343
+
344
0 commit comments