Page MenuHomeDevCentral

Enable Freetype, Webp and XPM support in GD
ClosedPublic

Authored by dereckson on Nov 13 2018, 15:37.
Tags
None
Referenced Files
F3764174: D2019.id.diff
Fri, Nov 22, 04:28
Unknown Object (File)
Sat, Nov 16, 12:29
Unknown Object (File)
Sat, Nov 16, 12:04
Unknown Object (File)
Tue, Nov 12, 10:39
Unknown Object (File)
Tue, Nov 12, 02:02
Unknown Object (File)
Thu, Nov 7, 19:11
Unknown Object (File)
Thu, Oct 31, 14:13
Unknown Object (File)
Sat, Oct 26, 12:46
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
No Lint Coverage
Unit
No Test Coverage
Branch
gd (branched from master)
Build Status
Buildable 3142
Build 3390: arc lint + arc unit

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.