PHP Classes

File: docs/content/

Recommend this page to a friend!
  Classes of Jose Luis Quintana   GImage PHP Canvas to Image   docs/content/   Download  
File: docs/content/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: GImage PHP Canvas to Image
Create and compose canvas images from other images
Author: By
Last change:
Date: 8 months ago
Size: 1,703 bytes


Class file image Download


> A PHP library for easy image handling.

Build Status Latest Stable Version Latest Unstable Version Total Downloads License


[GImage][1] is a simple and small library based on PHP Image Processing and GD for processing images without stress.

A simple presentation card with GImage

> _"A presentation card built with GImage" - [View code example][3]_


  • Load an image from a local path, URL or image resource.
  • Create shapes such as rectangles or ellipses with opacity.
  • Resize, scale or crop images proportionally.
  • Rotate images, shapes or texts.
  • Embed text with custom TTF fonts.
  • Compose a pool of images with `Canvas`.
  • Swap image formats such as JPEG, PNG or GIF.
  • Save images locally or output them on the browser.
  • Save several copies of the same image.
  • Render an image in memory and return its resource.

For detailed instructions see the [getting started guide][2].

[1]: [2]: [3]: examples/