Skip to content

thewebblinders/php-generate-thumnails-for-pdf-documents

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-generate-thumbnails-for-pdf-documents

This function will generate a thumbnail in png format for a pdf document using - ImageMagick ( http://php.net/imagick ) , Ghostscript (https://sourceforge.net/projects/ghostscript/)

Tutorial - https://www.thewebblinders.in/programming/article/How-to-generate-thumbnails-for-PDF-documents-with-relative-paths-using-imagick-and-GhostScript-6009

Testing

Download above files and uncomment usage example in index.php and open it in the browser , if everything goes right, a file with name pdfthumbdemo.png file will be created inside thumbails directory

About

This function will generate a thumnail in png format for a pdf document using - ImageMagick ( http://php.net/imagick ) , Ghostscript (https://sourceforge.net/projects/ghostscript/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%