spatie / pdf-to-image

Convert a pdf to an image
https://murze.be/2015/07/convert-a-pdf-to-an-image-using-php/
MIT License
1.32k stars 228 forks source link

Converting fails on window #232

Closed gazmend-sahiti closed 3 weeks ago

gazmend-sahiti commented 5 months ago

I recently tried to use this package on a windows environment and had to rename the "gswin64" to gs as a quick solution to make it work.

The package always uses the command "gs", on Windows the Ghostscript exe is not called gs it might be: gswin32, gswin32c, gswin64 or gswin64.

patinthehat commented 4 months ago

Imagemagick specifies the gs binary name under the hood, not the package directly. We'd be happy to review a PR that allows modification of the ghostscript binary name, though. Thanks! :+1:

spatie-bot commented 3 weeks ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.