Page 1 of 1

WebP from within RHEL/CentOS 7 ??

Posted: 2014-10-22T21:07:18-07:00
by AliceWonder
Hi - trying the command line example at http://www.imagemagick.org/script/webp.php only I'm using a tif for input.

convert is not spitting out an error, it is creating the requested file with a .webp extension, but the output is a tiff file just like the input.

convert -version
Version: ImageMagick 6.7.8-9 2014-06-10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

Is my ImageMagick just too old or is there something else going on?

I can build latest from source if I must, though I'm not sure why I'm not getting an error if my build of convert doesn't even support webp, so I'm worried building latest will just be barking up the wrong tree.

Thanks for suggestions.

Re: WebP from within RHEL/CentOS 7 ??

Posted: 2014-10-22T21:25:53-07:00
by fmw42
There have been numerous webp bug fixes since your version of IM. See the changelog at http://www.imagemagick.org/script/changelog.php. It might be worthwhile to try an upgrade.

But you have not provided your exact command line. So there could be a problem with your syntax.

You could also post one of your input images to some site such as dropbox.com and put the URL here. Someone could then test your command line on a more current version of IM, before you go to the trouble of upgrading. Also perhaps your webp delegate is too old.

Is it listed when you do

convert -list delegates

and look on the line starting with DELEGATES?

Re: WebP from within RHEL/CentOS 7 ??

Posted: 2014-10-22T21:42:39-07:00
by AliceWonder
Hi,

I took the source rpm and am updating it now and it will try that.

It looks like libweb-devel was not in the BuildRequires of the RHEL src.rpm so it probably wasn't found by configure in their build environment.
So I bet the convert that comes with RHEL/CentOS 7 doesn't have WebP support.

I'm building latest now and then will see what happens.

Re: WebP from within RHEL/CentOS 7 ??

Posted: 2014-10-22T23:46:29-07:00
by AliceWonder
Not only works now, but rebuilding the pecl php module also now lists webp in formats - so yeah, I think it was simply a matter of the RHEL/CentOS 7 rpm spec file failed to BuildRequires libwebp-devel.