src/Jaspersoft/Service/ThumbnailService.php
public function getThumbnailAsBase64String($uri, $defaultAllowed = false)
    {
        $url = self::makeUrl($uri, $defaultAllowed);
        $response = $this->service->makeRequest($url, array(200, 204), 'GET', null, true, 'application/json', 'text/plain');

        return $response['body'];
    }
public function getThumbnailAsBase64String($uri, $defaultAllowed = false)
    {
        $url = self::makeUrl($uri, $defaultAllowed);
        $response = $this->service->makeRequest($url, array(200, 204), 'GET', null, true, 'application/json', 'text/plain');

        return $response['body'];
    }
public function getThumbnailAsBase64String ( $ uri , $ defaultAllowed = false ) { $ url = self :: makeUrl ( $ uri , $ defaultAllowed ) ; $ response = $ this -> service -> makeRequest ( $ url , array ( 200 , 204 ) , 'GET' , null , true , 'application/json' , 'text/plain' ) ; return $ response [ 'body' ] ; }
Obtain a String of a thumbnail encoded in Base64

@param $uri
@param bool $defaultAllowed
@return mixed
Obtain a String of a thumbnail encoded in Base64