gfx-php
gfx-php copied to clipboard
The pure PHP graphics library
- Updates supported version range to 8.1 or higher, excluding now-unsupported PHP versions. - Selects latest stable version of all development dependencies: PHPUnit, PHPCS, PHPBench. - Corrects issues which were...
I'm not adding the signature to the interface `RasterImage` because it would be a breaking change for someone https://github.com/mike42/gfx-php/blob/master/src/Mike42/GfxPhp/RasterImage.php
test/resources/pygif/max-width.gif: BC.Gif.Exploit.Agent-1425366.Agent
Two known issues from using this library on newer PHP versions. - "Creation of dynamic property Mike42\GfxPhp\Codec\Common\DataBlobInputStream::$data is deprecated" in DataBlobInputStream. - "Use of "self" in callables is deprecated" in...
Changes necessary to get build/test rolling again for next release. - [ ] Upgrade development dependencies, possibly find modern alternative to php_codesniffer ``` "phpunit/phpunit": "^6.5", "squizlabs/php_codesniffer": "^3.3.1", "phpbench/phpbench": "@dev" ```...
Add a sample of benchmarks to the code via [phpbench](https://github.com/phpbench/phpbench). This should enable us to evaluate the performance impact of changes over time.
- [x] ~~Method to flatten the alpha channel of a palette by mixing with a background color~~ N/A, removed support for alpha in palette values. - [ ] Method to...
It's currently possible to convert a black/white raster image to text. Write an output codec for printing an image as ANSI (for command-line use). - [ ] Expand current text...
- [ ] Implement median-cut quantization to generate palettes from a higher color-depth image. - [ ] Update GIF output to use this when you attempt to save an image...