Nginx image-filter not support webp

Issues related to applications and software problems
Post Reply
dr.boczek
Posts: 1
Joined: 2022/04/06 06:02:50

Nginx image-filter not support webp

Post by dr.boczek » 2022/04/09 06:51:59

Hi,
i use CentOS 7 on my servers and i must have resize images "on fly". i installed nginx 1.20.1 from EPEL repository and nginx-mod-http-image-filter
all working fine with JPG and PNG images but when i try resize webp image nginx return 415 error and on error.log i have "nginx was built without GD WebP support while sending response to client"

on image-filter homepage has ben information "The WebP format support appeared in version 1.11.6. To transform images in this format, the libgd library must be compiled with the WebP support."

I try with other repos SCL and NGINX but i have the same problem. On debian 9 all work right fine.

can you help me solve it? I would prefer to use CentOS.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Nginx image-filter not support webp

Post by TrevorH » 2022/04/09 12:17:45

You would need to ask the EPEL maintainer if it is possible to enable webp support. There is a #epel channel on the libera.chat IRC network that you could ask in, they have a mailing list or as a last resort I guess you could try raising a bug on bugzilla.redhat.com in the Fedora EPEL section.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply