Download the PHP package swiftchase/swift-imagine without Composer
On this page you can find all versions of the php package swiftchase/swift-imagine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swiftchase/swift-imagine
More information about swiftchase/swift-imagine
Files in swiftchase/swift-imagine
Package swift-imagine
Short Description Makes the Imagine image manipulation library available as Zend Framework 2 service, and adds more metadata readers
License BSD-3-Clause
Homepage https://github.com/swiftchase/swift-imagine
Informations about the package swift-imagine
SwiftImagine Zend Framework 2 Module
Purpose
SwiftImagine makes the Imagine library available as a service within a ZF2 application, automatically selecting the "best possible" adapter (selecting from Gmagick, Imagick, or GD).
Installation
Add the library to composer:
$ composer require "swiftchase/swift-imagine:*"
Then, add the SwiftImagine
module in your config/application.config.php
.
Afterwards, the SwiftImagine\Service\Imagine
service will be available via the service manager.
Additional Metadata readers
The Imagine
library itself comes with an ExifMetadataReader
.
The SwiftImagine
module adds additional readers:
ChainedMetadataReader
- aggregates information from multiple metadata readersGpsMetadataReader
- extracts GPS location and altitude from the EXIF dataIptcMetadataReader
- extracts IPTC photo metadata.
Limitations / To-dos
Currently there's no way to configure the preferred graphics library adapter, change which metadata readers are enabled by default, or easily making multiple imagine services available each with different configurations.
There are also issues with the streams, haven't bothered to poke at it.