yii2-imagine

Yii 2 imagine extension

Github星跟蹤圖

This extension adds most common image functions and also acts as a wrapper to Imagine
image manipulation library for Yii framework 2.0.

For license information check the LICENSE-file.

Latest Stable Version
Total Downloads
Build Status

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist yiisoft/yii2-imagine

or add

"yiisoft/yii2-imagine": "~2.2.0"

to the require section of your composer.json.

Basic Usage

This extension is a wrapper to the Imagine and also adds the most commonly used
image manipulation methods.

The following example shows how to use this extension:

use yii\imagine\Image;

// frame, rotate and save an image
Image::frame('path/to/image.jpg', 5, '666', 0)
    ->rotate(-8)
    ->save('path/to/destination/image.jpg', ['jpeg_quality' => 50]);

主要指標

概覽
名稱與所有者yiisoft/yii2-imagine
主編程語言PHP
編程語言PHP (語言數: 2)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2014-01-01 19:03:46
推送於2023-09-29 16:09:49
最后一次提交2023-09-23 11:23:40
發布數12
最新版本名稱2.3.1 (發布於 2022-09-04 13:06:41)
第一版名稱2.0.0-beta (發布於 )
用户参与
星數285
關注者數42
派生數93
提交數125
已啟用問題?
問題數51
打開的問題數5
拉請求數25
打開的拉請求數1
關閉的拉請求數7
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?