GImage¶
A PHP library for easy image handling.
Introduction¶
GImage is a simple and small library based on PHP Image Processing and GD for processing images without stress.
"A presentation card built with GImage" - View code example
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.