Sync gd 2 4#22532
Open
pierrejoye wants to merge 61 commits into
Open
Conversation
…ns (90% rewrite). update reference images (buggy before) for tests
…ns usuable, using linear RGBA instead of previous weird squared distance
…p's config. also move it to the right place
…mage_fetch_pixel_nearest, attempt to make 'statement is not part of the previous 'while' happy
…quat, disabled by default now)
Contributor
Author
|
All new deps are available now and builds. All runners green. I like to merge that one already and do a separate PR for the ext/gd user-land 's additions. Is it ok? |
Member
|
I ll have a better look this week end |
Contributor
Author
|
@devnexen thanks :) Only the autocrop is affected as the new correct one is in, it was barely usable before (square distance vs Lab* + Delta-E). and also corrected some wrong rendering font ni ft2 (tests covered the bug, bbox ones). There is no new functions added yet. That's my plan for the next days. To make it for 8.6. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync php's libgd to current GD's master, which will be 2.4.0
New APIs
2D vector graphic APIs using FT raster (standalone version)
Share compisitions with existing gd's functions
optionally allow to replace exising composition OPs to be replace by the new accurate ones.
ad gdImageRead* APIs, to read an image from a file/stream, codec selected using known binary signature
Codecs Added:
QOI full support (bundled/no dep)
#796 Initial QOI support, read and write libgd/libgd#1005
JXL + JXL animation
Webp animation and full formats support
Full animated WebP read/write support libgd/libgd#1001
Full TIFF support
Initial TIFF multiple pages support libgd/libgd#1010
GIF animations read and write + Full GIF support
BMP All formats but OS/2
Feature/bmpfullsupport libgd/libgd#999
AVIF animation read and write
UltraHDR support, using libultrahdr, read and write as standalone, or read SD image as gdImage
Feature/ultrahdr libgd/libgd#1003
for formats supporting it, raw metadata read/write APIs. can be then be processed and pushed back)
Updated/Fixed
. Fix RAMQ rendering
WIP:
This is the 1st phase, to ensure it builds correctly in php's CI. And hopefully the new deps will be added as well.
The next phases is to expose the new APIs in php's.