Weave 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

Pure PHP graphics library for reading, writing and processing raster images (PNG, GIF, BMP, Netpbm) without Gd or Imagick. Supports scaling, cropping, format conversion and colorspace transforms, making image handling more portable. Requires PHP 7+ and zlib for PNG.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings