WebP from within RHEL/CentOS 7 ??

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
AliceWonder
Posts: 11
Joined: 2014-07-09T21:41:34-07:00
Authentication code: 6789

WebP from within RHEL/CentOS 7 ??

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: WebP from within RHEL/CentOS 7 ??

Post 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?
AliceWonder
Posts: 11
Joined: 2014-07-09T21:41:34-07:00
Authentication code: 6789

Re: WebP from within RHEL/CentOS 7 ??

Post 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.
AliceWonder
Posts: 11
Joined: 2014-07-09T21:41:34-07:00
Authentication code: 6789

Re: WebP from within RHEL/CentOS 7 ??

Post 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.
Post Reply