src/BoomCMS/FileInfo/Drivers/Pdf.php
public function getThumbnail(): Imagick
    {
        $image = new Imagick($this->file->getPathname().'[0]');
        $image->setImageFormat('png');

        return $image;
    }
public function getThumbnail(): Imagick
    {
        $image = new Imagick($this->file->getPathname().'[0]');
        $image->setImageFormat('png');

        return $image;
    }
public function getThumbnail ( ) : Imagick { $ image = new Imagick ( $ this -> file -> getPathname ( ) . '[0]' ) ; $ image -> setImageFormat ( 'png' ) ; return $ image ; }
Generates a thumbnail for the PDF from the first page of the document.

@return Imagick
Generates a thumbnail for the PDF from the first page of the document .