2017 © Pedro Peláez
 

library image-php

The pure PHP image processing library

image

mike42/image-php

The pure PHP image processing library

  • Tuesday, May 1, 2018
  • by mike42
  • Repository
  • 2 Watchers
  • 3 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 6 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

gfx-php - The pure PHP graphics library

Build Status Latest Stable Version Total Downloads License Coverage Status, (*1)

This library implements input, output and processing of raster images in pure PHP, so that image processing extensions (Gd, Imagick) are not required., (*2)

This allows developers to eliminate some portability issues from their applications., (*3)

Features

  • Format support includes PNG, GIF, BMP and the Netpbm formats (See docs: File formats).
  • Support for scaling, cropping, format conversion and colorspace transformations (See docs: Image operations).
  • 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:, (*4)

composer install mike42/gfx-php

Basic usage

The basic usage is like this:, (*5)

<?php
use Mike42\GfxPhp\Image;
$img = Image::fromFile("colorwheel256.png");
$img -> write("test.gif");

Further reading

Contributing

This project is open to all kinds of contributions, including suggestions, documentation fixes, examples, formats and image processing algorithms., (*6)

Some ideas for improvement listed in the issue tracker. Code contributions must be releasable under the LGPLv3 or later., (*7)

Scope

As a small project, we can't do everything. In particular, gfx-php is not likely to ever perform non-raster operations:, (*8)

  • vector image formats (PDF, SVG, EPS, etc).
  • anything involving vector fonts

Acknowledgements

This repository uses test files from other projects:, (*9)

Similar projects

  • Imagine, which wraps available libraries.

The Versions

01/05 2018

dev-feature/21-docs

dev-feature/21-docs https://github.com/mike42/image-php

The pure PHP image processing library

  Sources   Download

LGPL-2.1-or-later

The Development Requires

by Michael Billington

28/04 2018

dev-master

9999999-dev https://github.com/mike42/image-php

The pure PHP image processing library

  Sources   Download

LGPL-2.1-or-later

The Development Requires

by Michael Billington

28/04 2018

v0.1

0.1.0.0 https://github.com/mike42/image-php

The pure PHP image processing library

  Sources   Download

LGPL-2.1-or-later

The Development Requires

by Michael Billington