Skip to content

Releases: mike42/gfx-php

v0.6

05 Oct 02:53
ed9ded2
Compare
Choose a tag to compare
  • Adds support for reading BMP file format. Various versions, color depths and compression modes are supported, see docs/ for details.

v0.5

02 Mar 05:05
ab1ec7a
Compare
Choose a tag to compare
  • 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.4.2

24 Feb 04:28
0ea8f50
Compare
Choose a tag to compare

This release restores compatibility with HHVM 3.21 and HHVM 3.27.

v0.4.1

24 Feb 03:00
b1a1377
Compare
Choose a tag to compare

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.4

17 Feb 05:08
0fcbc54
Compare
Choose a tag to compare

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.3.1

10 Jun 13:32
3ac1be9
Compare
Choose a tag to compare

This release incorporates some minor bug fixes:

  • BMP output was not correct. #30
  • PHP Warnings being raised while reading some valid and invalid PNG images before the image was correctly loaded or rejected. #32

v0.3

09 Jun 08:04
2bd89a7
Compare
Choose a tag to compare

This release contains two main changes:

  • Adds the ability to read PNG images.
    • The PNG reader is triggered when .png is used as the file extension for input.
    • Transparency is be mixed to a white background.
    • See #16 for known limitations.
  • 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.

v0.2.1

11 May 13:59
396ae66
Compare
Choose a tag to compare
  • Documentation changes only

v0.2

07 May 11:34
Compare
Choose a tag to compare

This update adds API documentation to the project, and the new gfx-php name.

v0.1

28 Apr 12:47
2d39a1d
Compare
Choose a tag to compare

Initial implementation of the image-php library.

Output formats

  • PNG - 24 bit RGB is used.
  • GIF
  • BMP - 24 bit RGB is used.
  • Binary NetPBM formats: PPM, PBM, PGM.

Input formats

  • Binary NetPBM formats: PPM, PBM, PGM.

Image representations

  • RGB 24 bits per pixel.
  • Indexed / palette-based, 8 or 16 bits per pixel.
  • Monochrome, 8 or 16 bits per pixel
  • Black and white, 1 bit per pixel.

Processing

  • Format conversions
  • Color-space conversions (eg. to monochrome, black/white or 256 colors).
  • Image re-sampling (scaling)