PHP Classes

File: docs/content/index.md

Recommend this page to a friend!
  Classes of Jose Luis Quintana   GImage PHP Canvas to Image   docs/content/index.md   Download  
File: docs/content/index.md
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: 1 year ago
Size: 1,703 bytes
 

Contents

Class file image Download

GImage

> A PHP library for easy image handling.

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

Introduction

[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]_

Features

  • 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]: https://github.com/joseluisq/gimage [2]: getting-started.md [3]: examples/creating-a-presentation-card.md