Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Gfx Php Laravel Package

mike42/gfx-php

gfx-php is a PHP graphics helper library by mike42, aimed at generating and manipulating simple bitmap-style images and drawing primitives. Useful for lightweight image rendering tasks where full GD/Imagick workflows feel too heavy.

View on GitHub
Deep Wiki
Context7
v1.0

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.6
  • Adds support for reading BMP file format. Various versions, color depths and compression modes are supported, see docs/ for details.
v0.5
  • 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

This release restores compatibility with HHVM 3.21 and HHVM 3.27.

v0.4.1

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

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

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

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
  • Documentation changes only
v0.2

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

v0.1

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)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
amashukov/lnd-client-php
althinect/enum-permission
andydefer/laravel-actions
aimeos/prisma
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky