public static function createFromCore($gd) { return new self($gd, '', imagesx($gd), imagesy($gd), ImageType::UNKNOWN); }