Imagine

PHP 5.3 Object Oriented image manipulation library

  • 所有者: php-imagine/Imagine
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Imagine

Travis CI Build Status AppVeyor Build Status

Tweet about it using the #php_imagine hashtag.

Image manipulation library for PHP 5.3 inspired by Python's PIL and other image
libraries.

Requirements

The Imagine library has the following requirements:

  • PHP 5.3+

Depending on the chosen Image implementation, you may need one of the following PHP extensions:

  • GD2
  • Imagick (with ImageMagick version 6.2.9 or later, except version 7.0.7-32)
  • Gmagick

Installation using composer

php composer.phar require imagine/imagine

Basic Principles

The main purpose of Imagine is to provide all the necessary functionality to bring all native low level image processing libraries in PHP to the same simple and intuitive OO API.

Several things are necessary to accomplish that:

  • Image manipulation tools, such as resize, crop, etc.
  • Drawing API - to create basic shapes and advanced charts, write text on the image
  • Masking functionality - ability to apply black&white or grayscale images as masks, leading to semi-transparency or absolute transparency of the image the mask is being applied to

The above tools should be the basic foundation for a more powerful set of tools that are called Filters in Imagine.

Some of the ideas for upcoming filters:

  • Charting and graphing filters - pie and bar charts, linear graphs with annotations
  • Reflection - apple style
  • Rounded corners - web 2.0

Documentation

Presentations

Articles

Contributing

New pull requests should be based on the develop branch.
The master branch is the stable branch: it usually matches the latest a release but in can be a bit ahead.

主要指標

概覽
名稱與所有者php-imagine/Imagine
主編程語言PHP
編程語言PHP (語言數: 2)
平台
許可證Other
所有者活动
創建於2010-05-20 18:39:42
推送於2025-01-18 23:39:55
最后一次提交2024-12-03 15:37:55
發布數46
最新版本名稱1.5.0 (發布於 )
第一版名稱v0.1.0 (發布於 2011-03-14 07:44:28)
用户参与
星數4.4k
關注者數128
派生數530
提交數1.9k
已啟用問題?
問題數336
打開的問題數25
拉請求數366
打開的拉請求數1
關閉的拉請求數156
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?