[wp-trac] [WordPress Trac] #48116: Proposal: Tracking PHP Extension Usage

WordPress Trac noreply at wordpress.org
Tue Jul 19 20:07:50 UTC 2022


#48116: Proposal: Tracking PHP Extension Usage
------------------------------------+------------------------------
 Reporter:  dd32                    |       Owner:  adamsilverstein
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  6.1
Component:  Upgrade/Install         |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+------------------------------

Comment (by pbiron):

 Replying to [comment:33 adamsilverstein]:
 > Regarding returning all values vs. returning just the data we know we
 want (AVIF/WebP support) - I'm leaning towards the latter, especially
 since the Imagick data is quite verbose and most isn't even useful. I'm
 going update the patch to just report on avif/webp support.

 I agree...

 > For reference, I get this data:

 Here's what I get on my local machine (haven't checked on any live sites):

 == GD
 {{{#!php
 <?php
 array (
   'GD Version' => 'bundled (2.1.0 compatible)',
   'FreeType Support' => true,
   'FreeType Linkage' => 'with freetype',
   'GIF Read Support' => true,
   'GIF Create Support' => true,
   'JPEG Support' => true,
   'PNG Support' => true,
   'WBMP Support' => true,
   'XPM Support' => true,
   'XBM Support' => true,
   'WebP Support' => true,
   'BMP Support' => true,
   'TGA Read Support' => true,
   'JIS-mapped Japanese Font Support' => false,
 )
 }}}

 == Imagick
   3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BGR,
 BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF,
   CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CLIPBOARD, CMYK, CMYKA, CR2,
 CR3, CRW, CUBE, CUR, CUT, DATA,
   DCM, DCR, DCRAW, DCX, DDS, DFONT, DJVU, DNG, DOT, DPS, DPX, DXT1, DXT5,
 EMF, EPDF, EPI, EPS, EPS2, EPS3,
   EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS,
 FL32, FLIF, FLV, FPX, FRACTAL, FTP,
   FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR,
 HEIC, HEIF, HISTOGRAM, HRZ, HTM,
   HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL,
 ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX,
   JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, JXL, K25, KDC, KERNEL,
 LABEL, 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, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD,
 PCDS, PCL, PCT, PCX, PDB, PDF,
   PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG,
 PLASMA, PNG, PNG00, PNG24, PNG32,
   PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF,
 PWP, RADIAL-GRADIENT, RAF, RAS,
   RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR,
 SCREENSHOT, SCT, SFW, SGI, SHTML, SIX,
   SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA,
 THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2,
   TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST,
 WBMP, WEBM, WEBP, WMF, WMV, WPG,
   X3F, XBM, XC, XCF, XPM, XPS, XV, YAML, YCbCr, YCbCrA, YUV

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48116#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list