mike42/gfx-php
The pure PHP graphics library
v0.4.2
1.4M downloads/mo
#2960 most downloaded on Packagist
mike42/gfx-php
What this package is like to depend on
Last release 1 months ago
29 Jun 2026
Ships unpredictably
gaps range from 8 days to 6.7 years
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
11 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
11 releases · Apr 2018 to Jun 2026Releases
latest 11-
v0.4.224 Feb 2019 -
v0.4.123 Feb 2019Release notes
Open source →This change introduces some minor fixes:
GIF decoding:
- Fixes the rejection of valid GIF images with block ordering which was not understood.
Indexed-color images:
- Fixes the incorrect treatment of color '0' as transparent when no transparent color is set.
File loading:
- Will now throw an exception rather than raising a warning.
-
v0.3.110 Jun 2018 -
v0.2.111 May 2018 -
v1.029 Jun 2026Release notes
Open source →This change is a maintenance release.
The major version has incremented because PHP 8.2+ is now required.
The changes correct issues with deprecated PHP features, and update test tools to more supportable/compatible versions. Testing of pull requests against supported PHP versions is now performed via GitHub actions.
-
v0.605 Oct 2019Release notes
Open source →- Adds support for reading BMP file format. Various versions, color depths and compression modes are supported, see
docs/for details.
- Adds support for reading BMP file format. Various versions, color depths and compression modes are supported, see
-
v0.502 Mar 2019Release notes
Open source →- Adds support for reading and writing WBMP (Wireless Application Protocol Bitmap) image files.
- Adds support for reading GIF files that use a 'deferred clear code'. On previous versions, the Exception "LZW code table overflow" was thrown when this type of file was read.
-
v0.417 Feb 2019Release notes
Open source →This release adds support for using GIF files as input to
gfx-php.If the input file is an animation, then only the first image will be used. #17
-
v0.309 Jun 2018Release notes
Open source →This release contains two main changes:
- Adds the ability to read PNG images.
- The PNG reader is triggered when
.pngis used as the file extension for input. - Transparency is be mixed to a white background.
- See #16 for known limitations.
- The PNG reader is triggered when
- Removes the documentation generator, which was generic enough to be spun off as its own project. See doxyphp2sphinx and this related blog post for usage.
- Adds the ability to read PNG images.
-
v0.207 May 2018Release notes
Open source →This update adds API documentation to the project, and the new
gfx-phpname. -
v0.128 Apr 2018Nothing published for this version