Page MenuHomeDevCentral

Enable Freetype, Webp and XPM support in GD
ClosedPublic

Authored by dereckson on Nov 13 2018, 15:37.
Tags
None
Referenced Files
F2830954: D2019.id5096.diff
Fri, Apr 19, 14:26
F2830920: D2019.id5097.diff
Fri, Apr 19, 14:10
F2830844: D2019.id5094.diff
Fri, Apr 19, 13:56
F2825740: D2019.diff
Thu, Apr 18, 17:12
Unknown Object (File)
Mon, Apr 15, 06:44
Unknown Object (File)
Mon, Apr 15, 05:30
Unknown Object (File)
Mon, Apr 15, 05:22
Unknown Object (File)
Mon, Apr 15, 05:22
Subscribers
None

Details

Summary

Required by Pixelfed

Ref T1481

Test Plan

Call the following functions:

  • imagefttext()
  • imagecreatefromxpm()
  • imagewebp()

Diff Detail

Repository
rDPHPVIIFPM Docker image to install nginx, PHP 7 and fpm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

imagefttext() and imagecreatefromxpm() ok

imagewebp() still undefined

It seems XPM and WebP are two different formats.

>>> gd_info()
=> [
     "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" => false,
     "BMP Support" => true,
     "JIS-mapped Japanese Font Support" => false,
   ]
This revision is now accepted and ready to land.Nov 13 2018, 19:21
This revision was automatically updated to reflect the committed changes.