You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
773 B
30 lines
773 B
11 years ago
|
<?php
|
||
|
/**
|
||
|
* @link http://www.yiiframework.com/
|
||
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
* @license http://www.yiiframework.com/license/
|
||
|
*/
|
||
|
|
||
|
namespace yii\imagine;
|
||
|
|
||
|
/**
|
||
11 years ago
|
* Image implements most commonly used image manipulation functions using the [Imagine library](http://imagine.readthedocs.org/).
|
||
11 years ago
|
*
|
||
|
* Example of use:
|
||
|
*
|
||
11 years ago
|
* ~~~php
|
||
11 years ago
|
* // thumb - saved on runtime path
|
||
|
* $imagePath = Yii::$app->getBasePath() . '/web/img/test-image.jpg';
|
||
|
* $runtimePath = Yii::$app->getRuntimePath();
|
||
11 years ago
|
* Image::thumbnail('@app/web/img/test-image.jpg', 120, 120)
|
||
|
* ->save('thumb-test-image.jpg', ['quality' => 50]);
|
||
11 years ago
|
* ~~~
|
||
|
*
|
||
|
* @author Antonio Ramirez <amigo.cobos@gmail.com>
|
||
11 years ago
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||
11 years ago
|
* @since 2.0
|
||
|
*/
|
||
11 years ago
|
class Image extends BaseImage
|
||
11 years ago
|
{
|
||
11 years ago
|
}
|