PHP 7.4/NewFunctions: handle new imagecreatefromtga() by jrfnl · Pull Request #873 · PHPCompatibility/PHPCompatibility

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jrfnl

Copy link Copy Markdown

Member

@jrfnl jrfnl commented

Aug 21, 2019

GD:
Added imagecreatefromtga() function, which allows reading images in TGA
format. TGA support is now also indicated by gd_info() and imagetypes().
Note that TGA images are not recognized by imagecreatefromstring() and getimagesize().

Refs:

Related to #808

>  GD:
>  Added `imagecreatefromtga()` function, which allows reading images in TGA
>  format. TGA support is now also indicated by `gd_info()` and `imagetypes()`.
>  Note that TGA images are not recognized by `imagecreatefromstring()` and `getimagesize()`.

Refs:
* https://github.com/php/php-src/blob/3775d47eee38f3b34f800a0b23f840ec7a94e4c7/UPGRADING#L461-L465
* php/php-src@81fd113

@jrfnl jrfnl added Type: enhancement PR: quick merge

PR only contains relatively simple changes

PR: ready for review labels

Aug 21, 2019

@jrfnl jrfnl added this to the 9.3.0 milestone

Aug 21, 2019

@jrfnl jrfnl requested a review from wimg

August 21, 2019 04:30

@wimg wimg merged commit 9d1c716 into master

Aug 26, 2019

@delete-merged-branch delete-merged-branch bot deleted the php-7.4/more-new-functions branch

August 26, 2019 16:08

@jrfnl jrfnl removed PR: ready for review PR: quick merge

PR only contains relatively simple changes

labels

Sep 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wimg wimg wimg approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

9.3.0

Development

Successfully merging this pull request may close these issues.

2 participants

@jrfnl @wimg