public static function createFromCore( $gd ) {
        return new self( $gd, '', imagesx( $gd ), imagesy( $gd ), ImageType::UNKNOWN );
    }
public static function createFromCore( $gd ) {
        return new self( $gd, '', imagesx( $gd ), imagesy( $gd ), ImageType::UNKNOWN );
    }
public static function createFromCore ( $ gd ) { return new self ( $ gd , '' , imagesx ( $ gd ) , imagesy ( $ gd ) , ImageType :: UNKNOWN ) ; }
Create an Image from a GD resource. The file type defaults to unknown.

@param resource $gd GD resource.

@return Image
Create an Image from a GD resource . The file type defaults to unknown .