All Projects → joseluisq → Gimage

joseluisq / Gimage

Licence: mit
A PHP library for easy image handling. 🖼

Projects that are alternatives of or similar to Gimage

downscale
Better image downscale with canvas.
Stars: ✭ 80 (-45.95%)
Mutual labels:  resize, png, scale, crop
Bimg
Go package for fast high-level image processing powered by libvips C library
Stars: ✭ 1,394 (+841.89%)
Mutual labels:  image, png, crop, resize
Sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Stars: ✭ 21,131 (+14177.7%)
Mutual labels:  image, png, crop, resize
Lipo
👄 Free image manipulation API service built on top of Sharp (an alternative to Jimp, Graphics Magic, Image Magick, and PhantomJS)
Stars: ✭ 101 (-31.76%)
Mutual labels:  scale, image, crop, resize
Docker Nginx Image Proxy
on the fly image cropping with gravity, resize and compression microservice
Stars: ✭ 79 (-46.62%)
Mutual labels:  image, crop, resize
Igrphototweaks
Drag, Rotate, Scale and Crop
Stars: ✭ 212 (+43.24%)
Mutual labels:  scale, image, crop
Imaging
Imaging is a simple image processing package for Go
Stars: ✭ 4,023 (+2618.24%)
Mutual labels:  image, crop, resize
Mergi
go library for image programming (merge, crop, resize, watermark, animate, ease, transit)
Stars: ✭ 127 (-14.19%)
Mutual labels:  image, crop, resize
Ucrop
Image Cropping Library for Android
Stars: ✭ 11,003 (+7334.46%)
Mutual labels:  scale, image, crop
Lilliput
Resize images and animated GIFs in Go
Stars: ✭ 1,690 (+1041.89%)
Mutual labels:  image, png, crop
Flyimg
Dockerized PHP7 application runs as a Microservice to resize and crop images on the fly. Get optimised images with MozJPEG, WebP or PNG using ImageMagick. Includes face detection, cropping, face blurring, image rotation and many other options. Abstract storage based on FlySystem in order to store images on any provider (local, AWS S3...).
Stars: ✭ 762 (+414.86%)
Mutual labels:  image, png, crop
Php Image Resize
PHP library to resize, scale and crop images. Cloud solution available at:
Stars: ✭ 955 (+545.27%)
Mutual labels:  scale, crop, resize
Image Optimizer
Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
Stars: ✭ 785 (+430.41%)
Mutual labels:  image, png, jpg
Nova Advanced Image Field
🌄📐 A Laravel Nova advanced image field with cropping and resizing using Cropper.js and Intervention Image
Stars: ✭ 67 (-54.73%)
Mutual labels:  image, crop, resize
React Avatar Editor
Small avatar & profile picture component. Resize and crop uploaded images using a intuitive user interface.
Stars: ✭ 1,846 (+1147.3%)
Mutual labels:  image, crop
Magick.net
The .NET library for ImageMagick
Stars: ✭ 2,071 (+1299.32%)
Mutual labels:  image, resize
Ffimageloading
Image loading, caching & transforming library for Xamarin and Windows
Stars: ✭ 1,288 (+770.27%)
Mutual labels:  image, resize
Imageviewer
HDR, PFM, DDS, KTX, EXR, PNG, JPG, BMP image viewer and manipulator
Stars: ✭ 71 (-52.03%)
Mutual labels:  png, jpg
Png To Ico
convert png to ico format
Stars: ✭ 88 (-40.54%)
Mutual labels:  image, png
File Icon
Get the icon of a file or app as a PNG image (macOS)
Stars: ✭ 100 (-32.43%)
Mutual labels:  image, png

GImage

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

A PHP library for easy image handling. 🖼

A simple presentation card with GImage

Presentation card built with GImage - View code example

Features

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

  • Load an image from 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 in local or output on the browser.
  • Save several copies of the same image.
  • Render an image in-memory and return the resource.

Requirements

GImage requires PHP 7.x and latest GD Extension.

Install

composer require joseluisq/gimage

Usage

Load an external PNG image and save it as JPG:

<?php

use GImage\Image;

// PNG image (600x199)
$url = 'https://i.imgur.com/G5MR088.png';

$arch = new Image();
$arch
    // Load from URL
    ->load($url)
    // Scale to 50% (300x99)
    ->scale(0.5)
    // Change the format to JPG
    ->toJPG()
    // Saving in local path
    ->save('arch.jpg');

See GImage Website for detailed usage instructions and code examples.

Changelog

Check out the CHANGELOG.md file.

Contribution

If you would like to contribute pull requests and issues will be welcome! Feature requests are welcome. Please before sending some feature requests make sure provide as much detail and context as possible.

License

MIT license

©2015-present José Quintana

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].