I use spatie/pdf-to-image library, I should have Imagick and Ghostscript installed before. After testing,