Convert pdf to JPG using PDFfiller PHP Client

When your PDF document contains only images, you may no longer have any use for this format. With PDFfiller's PDF to JPG converter, you're able to easily preserve the quality of your images in seconds.
          
              
                    PDFfiller\OAuth2\Client\Provider\Document::download();

$uploader = new Uploader($provider, Document::class);
$uploader->type = Uploader::TYPE_MULTIPART;
$uploader->file = __DIR__ . '/test.pdf';
$logo = $uploader->upload();

$contents = Document::download($provider, 54656456, ['type' => 'jpg']);