AMH 社区首页
AMH社区 - 开放自由有价值的社区
[综合话题] Imagick是否为版本过低不支持webp格式 |
|
---|---|
Bossion |
Bossion 发表于 2021-08-03 15:30:28
Hi,
装的wordpress插件要求装imagick 在商店安装了ImageMagick,后安装了pecl_imagick-3.4.4 插件还是不能用,我调用phpinfo查看imageMagick支持的格式里也没有webp。 希望提示一下如何解决,谢谢! phpinfo显示: ImageMagick supported formats 3FR, 3G2, 3GP, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, 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, PS, PS2, PS3, PSB, PSD, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV
点赞,加油! (0分)
2021-08-03 15:30:28 1
|
amysql |
默认没安装支持webp,需要话,可以使用以下命令安装,如centos系统:
yum install libwebp libwebp-devel amh download image_magick-7.0 sed -i 's/--with-freetype/--with-webp --with-freetype/' /root/amh/modules/image_magick-7.0/AMHScript amh image_magick-7.0 uninstall amh image_magick-7.0 install 与在lnmp扩展安装,重新安装一次 pecl_imagick。
回复
2021-08-03 15:57:46 2
AMH面板 - 好用高效低占用、安全可靠极稳定 |
Bossion |
已经ok,感谢万忙中回复!
回复
2021-08-03 17:21:53 3
|