ImageMagick with WEBP support for PHP?

General support questions
Post Reply
Akami
Posts: 5
Joined: 2019/02/04 07:38:47

ImageMagick with WEBP support for PHP?

Post by Akami » 2020/05/18 11:06:49

Hello, I use CentOS Linux 7.8.2003 and ImageMagick 6.9.10.68-3.el7 from base repo.

Is here a reason that this version of ImageMagick have no support for WEBP in PHP? How can I enable WEBP support in PHP, so that ImageMagick will continue to be automatically updated by CentOS?
# convert -version
Version: ImageMagick 6.9.10-68 Q16 x86_64 2020-04-01 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(3.1)
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff wmf x xml zlib
PHPINFO said:
imagick module version 3.4.3
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version ImageMagick 6.9.10-68 Q16 x86_64 2020-04-01 https://imagemagick.org
Imagick using ImageMagick library version ImageMagick 6.9.10-68 Q16 x86_64 2020-04-01 https://imagemagick.org
ImageMagick copyright © 1999-2019 ImageMagick Studio LLC
ImageMagick release date 2020-04-01
ImageMagick number of supported formats: 230
ImageMagick supported formats 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
Last edited by Akami on 2020/05/25 19:49:03, edited 5 times in total.

Akami
Posts: 5
Joined: 2019/02/04 07:38:47

Re: ImageMagick with WEBP support?

Post by Akami » 2020/05/25 19:19:52

I'd appreciate any tips. ;)

User avatar
remirepo
Posts: 388
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: ImageMagick with WEBP support for PHP?

Post by remirepo » 2020/05/26 07:59:28

IIRC libwebp in EL-7 is too old for ImageMagick

You can try ImageMagick from my repository, which provides more image formats (including webp, heic...)

BTW, not supported here
Remi's Repository - Forum - Blog

Post Reply

Return to “CentOS 7 - General Support”