Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Since ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07, converting to webp no longer works with the PHP plugin.
This happens on both of my servers.
The webp converts but the file is just a blank transparent image.
There are no errors reported.
This happens on both of my servers.
The webp converts but the file is just a blank transparent image.
There are no errors reported.
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Edit: it seems to only be when I add any manipulation to it.
e.g.
$img->cropThumbnailImage($image_size, $image_size);
e.g.
$img->cropThumbnailImage($image_size, $image_size);
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Try this command on the command-line:
Can you read/view logo.webp? Hope so, that command works fine for us and produces a valid image in the WebP image format. If it fails, post a link to the image so we can inspect it and also post the results of this command:
Code: Select all
convert logo: -thumbnail 100x100 logo.webp
Code: Select all
convert -list format | grep WebP
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
That doesn't work here in straight command line.
It produces the blank image, see link below:
https://gofile.io/?c=Pi978w
I tried it on my other server install with older ImageMagick 6.9 builds and it works fine.
Using convert -list format | grep WebP shows:
I also just removed 6.9 and installed 7.08 build 68 and it works fine. So it just seems isolated to 6.9.10-68. FYI 6.9.10.67 also has the issue, but prior to that it's ok.
It produces the blank image, see link below:
https://gofile.io/?c=Pi978w
I tried it on my other server install with older ImageMagick 6.9 builds and it works fine.
Using convert -list format | grep WebP shows:
Code: Select all
WEBP* WEBP rw- WebP Image Format (libwebp 0.4.3 [0202])
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
The min version of libwebpmux is 0.4.4. Any chance you can upgrade your library and let us know if that fixes the problem?
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Sure, I just ran the libwebp check on our CentOS 7 server which has a newer libwebpmux,
convert -list format | grep WebP returns:
It has the same issue as our CentOS 6 server where the webp output is a blank image.
convert -list format | grep WebP returns:
Code: Select all
WEBP* WEBP rw- WebP Image Format (libwebp 1.0.2 [020E])
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Ok, we can reproduce the problem now. We should be able to fix the problem and export a new release by late this weekend.
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
That's great, brilliant news.
Thanks so much for your hard work.
Thanks so much for your hard work.
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Just to let you know that the Version 7 I installed has an issue too. Not sure if it's the same issue but instead some of the image comes through but is corrupted.
See example:
https://gofile.io/?c=3VY1jB
Just thought I'd let you know in case V7 wasn't in your fix process.
See example:
https://gofile.io/?c=3VY1jB
Just thought I'd let you know in case V7 wasn't in your fix process.
Re: Webp conversion broken with ImageMagick 6.9.10-68 Q16 x86_64 2019-10-07 and PHP Plugin
Will this get pushed to Beta or full release when fixed?