Download the PHP package flaviovs/yii2-imagefilters without Composer
On this page you can find all versions of the php package flaviovs/yii2-imagefilters. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download flaviovs/yii2-imagefilters
More information about flaviovs/yii2-imagefilters
Files in flaviovs/yii2-imagefilters
Package yii2-imagefilters
Short Description Image filters for the Yii2 Imagefilter extension
License MIT
Informations about the package yii2-imagefilters
Image filters for the Yii2 Imagefilter extension
This package provides image filters for the Yii2 Imagefilter extension.
Currently, the following filter is available:
-
fv\yii\imagefilters\Thumbnail
(width
,height
,mode
) - create a thumbnail for an image. Mode is eitherTHUMBNAIL_INSET
orTHUMBNAIL_OUTBOUND
(default) constants defined inImagine\Image\ImageInterface
. See https://www.yiiframework.com/extension/yiisoft/yii2-imagine/doc/api/2.2/yii-imagine-baseimage#thumbnail()-detail fv\yii\imagefilters\Resize
(width
,height
,keepAspectRatio
,allowUpscaling
) - resize na image. See https://www.yiiframework.com/extension/yiisoft/yii2-imagine/doc/api/2.2/yii-imagine-baseimage#resize()-detail
Patches for more filters are welcome.
How to use
Add these filters to your Yii2 Imagefilter pipelines: