<?php public function isGdResource()
{
if (is_resource($this->data)) {
return (get_resource_type($this->data) == 'gd');
}
if ($this->data instanceof \GdImage) {
<?php $this->assertEquals(get_resource_type($img->getCore()), 'Unknown');
$this->assertEquals(get_resource_type($img->getBackup()), 'Unknown');
}
public function testStringConversion()