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

imagick extintion dose now work #215

Closed tarek-attar closed 4 months ago

tarek-attar commented 1 year ago

hi there, i have a project laravel 10 php 8.2 , and i want to use this library spati/pdf-to-image , but there is problem , the imagick extention is not work and its important to useing the library , what is the solution??

ghost commented 1 year ago

What is your problem? Today, I also installed this package with imagick extension. Its work! I'm using laravel 10 php 8.2 too

ejsinfuego commented 1 year ago

@phunq-0851 what os are you using?

ghost commented 1 year ago

@ejsinfuego i'm using WSL2

aref79 commented 11 months ago

I have this problem too , Can anyone solve this problem?

nobel-512 commented 9 months ago

Hi all, I had the same issue. After many tries and searching in many places, I found that the solution for the imagick extention issue, is to use PHP 8.1.0 instead of PHP 8.2. Do not worry about Laravel 10 it will work with PHP 8.1.0 too.

mbolli commented 9 months ago

no issues here with WSL2 and PHP 8.3.2-1+ubuntu22.04.1+deb.sury.org+1

bobvandevijver commented 8 months ago

If the Imagick extension is the issue, it might be worthwhile to check our fork which no longer relies om Imagick: https://github.com/Drenso/pdf-to-image.

patinthehat commented 4 months ago

Closing stale issue - please open a new issue if you're still running into this error. Thanks!