定制 swiftchase/swift-imagine 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swiftchase/swift-imagine

最新稳定版本:0.1.0

Composer 安装命令:

composer require swiftchase/swift-imagine

包简介

Makes the Imagine image manipulation library available as Zend Framework 2 service, and adds more metadata readers

README 文档

README

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 readers
  • GpsMetadataReader - extracts GPS location and altitude from the EXIF data
  • IptcMetadataReader - 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.

统计信息

  • 总下载量: 120
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-05