master
Migrate skip checks to --EXTENSIONS-- for ext/gd
imagettftext() uses the last charactermap it found and not the one you want
Fix permissions
Fixed the UTF-8 and long path support in the streams on Windows.
Overhaul GD test helpers and affected tests (GH-17309)
[RFC] Deprecate imagedestroy() (#19454)
ext/gd/tests: backport optional PNG support
A picture is worth a thousand message digests
Replace md5 image comparision with test_image_equals_file()
- #37346, invalid colormap format
- MFH: #37360, bad gif size
- #38112, add test and use MAX_LWZ_BITS instead of the value
Fix most external GD 2.3.3 compatibility
Shrink test image
-MFB, Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd)
Fix #78923: Artifacts when convoluting image with transparency
Fix #50194: imagettftext broken on transparent background w/o alphablending
Fix #51498: imagefilledellipse does not work for large circles
Merge branch 'PHP-8.0'
Deprecate $num_points parameter of image(open|filled)polygon
Fix #64641: imagefilledpolygon doesn't draw horizontal line
Rename *.jpeg files to *.jpg
Fix bug 68629: Transparent artifacts when using imagerotate
ext/gd: checking imagescale/imagefilter invalid values.
Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
Fix #73161: imagecreatefromgd2() may leak memory
Fix #73213: Integer overflow in imageline() with antialiasing
Fixed bug #65148 (imagerotate may alter image dimensions)
Fix #73614: gdImageFilledArc() doesn't properly draw pies
Fix #73868: DOS vulnerability in gdImageCreateFromGd2Ctx()
Port "gd2: use existing overflow2() rather than ad-hoc version" (#15090)
Fix #73869: Signed Integer Overflow gd_io.c
Fix #73968: Premature failing of XBM reading
Fix #74435: Buffer over-read into uninitialized memory
Fixed bug #75124 (gdImageGrayScale() may produce colors)
Fixed bug #75571: Potential infinite loop in gdImageCreateFromGifCtx
Fix #77391: 1bpp BMPs may fail to be loaded
ext/gd: Make BMP always available (#19115)
Add tests for bug77943
Update new test to use EXTENSIONS section instead of SKIPIF
Added GD image conversion tests.
Better use '_' instead of '.'
- check max colors while loading gd2 palette image (patch by Tomas Hoger)
Fix libgd 223: gdImageRotateGeneric() does not properly interpolate
tree-wide: Remove stacktraces from tests testing throwing clones (#18748)
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path
ext/gd/tests/gh10614.phpt: skip if no PNG support
Fix GH-10614: imagerotate will turn the picture all black, when rotated 90
ext/gd: Fix GH-13082
Fix skip condition of gh13082.phpt
Add test case for GH-13774
ext/standard: Deprecate passing integers outside the interval [0, 255] to chr() (#19441)
Fix GH-16255: Unexpected nan value in ext/gd/libgd/gd_filter.c
Fix GH-16257 imagescale underflow on RGB channels.
Fix GH-16260: overflow/underflow on imagerotate degrees argument.
Fix GH-16322: imageaffine overflow on affine argument.
Fix GH-16559: UBSan abort in ext/gd/libgd/gd_interpolation.c:1007
Fix GH-16771: imagecreatefromstring overflow on invalid format.
Fix GH-17349: Tiled truecolor filling looses single color transparency
Fix GH-17891 gh17373.phpt test issue without freetype support
Fix GH-17703: imagescale both width and heigh set with negative values.
Fix GH-17772: imagepalettetotruecolor segfault on invalid truecolor pixel.
Fix GH-17984: gd calls with array arguments.
Fixed GH-18243: imagettftext underflow/overflow on size argument.
Fix GH-19578: imagefilledellipse underflow on width argument.
ext/gd: Fix GH-19955 unit test.
Fix GH-20551: imagegammacorrect out of range gamma value.
Merge branch 'PHP-8.0' into PHP-8.1
Add support for reading GIFs without colormap
Reduce girl.avif by 4x
Fix parameter numbers for imagecolorset()
Implement #69606: Support BMPs (added in GD 2.1.0)
Add support for webp in imagecreatefromstring
Simplify WBMP imagecreatefromstring() detection (GH-16782)
Disable strict pixi requirement for libavif >= 0.9.1
AVIF support for getimagesize() and imagecreatefromstring()
Support TGA reading
ext/gd: Make TGA always available (#19105)
ext/gd: imagecrop rect argument overflow fixes.
ext/gd/imagefilter: Improve wording of ArgCount error
Fix GH-20070: Return type violation in imagefilter when an invalid filter is provided
Refactor imagegammacorrect()
Don't enforce palette conversion when writing GD images
Fix file clash in gd tests
Implement request #33066: Add GD Image Function gdImageOpenPolygon()
Remove basically effectless gdImageAABlend()
ext/gd: iamgeresolution checks overflow. (#14585)
ext/gd: imagewebp/imageavif/imagepng/imagejpeg stricter checks quality/speed.
Fix for bug #71912 (libgd: signedness vulnerability)
- MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c (Reported by Xavier Roche)
- libgd #94, imagecreatefromxbm can crash if gdImageCreate fails
- libgd #101, imagecreatefromgd can crash if gdImageCreate fails
- add noisy php logo for autocrop with threshold test
New image tests. Tested on Windows, LInux and Linux 64 bit
- sync tests with HEAD
Added tests for imagefilter() function.
Added a test case for imagettftext()