imagick driver: 'format' method issue #228
lightsuner
started this conversation in
General
Replies: 2 comments
-
|
Hi, could you submit a PR that fixes this? If possible, include a test. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I get the same Ended up using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Spatie,
Thanks for the library!
Issue
I've come across different behaviours of
gdandimagickdrivers.avif.tmpfile().tmpfile()- creates a file without an extension, like:/tmp/phpFx0513a.So here is a code example:
$driverisgd, everything works as expected.$driverisimagick, I receive the following error:In my opinion, there is a bug in the
imagickdriver, as it tries to fetch the format from the destination file's extension and ignores the$image->format('avif')method.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions