Image.php 773 Bytes
Newer Older
Antonio Ramirez committed
1 2 3 4 5 6 7 8 9 10
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\imagine;

/**
11
 * Image implements most commonly used image manipulation functions using the [Imagine library](http://imagine.readthedocs.org/).
Antonio Ramirez committed
12 13 14
 *
 * Example of use:
 *
15
 * ~~~php
Antonio Ramirez committed
16 17 18
 * // thumb - saved on runtime path
 * $imagePath = Yii::$app->getBasePath() . '/web/img/test-image.jpg';
 * $runtimePath = Yii::$app->getRuntimePath();
Qiang Xue committed
19 20
 * Image::thumbnail('@app/web/img/test-image.jpg', 120, 120)
 *     ->save('thumb-test-image.jpg', ['quality' => 50]);
Antonio Ramirez committed
21 22 23
 * ~~~
 *
 * @author Antonio Ramirez <amigo.cobos@gmail.com>
24
 * @author Qiang Xue <qiang.xue@gmail.com>
Antonio Ramirez committed
25 26
 * @since 2.0
 */
27
class Image extends BaseImage
Antonio Ramirez committed
28
{
29
}