This module provide a Field Widget which generate a preview image from a PDF file. The preview image generated can be saved into a field (type of image) of the entity.
This modules requires ext-imagick on your server, and the vendor spatie/pdf-to-image.
Uses composer require drupal/file_pdf_preview
to downlaod the dependencies automatically with composer.