0

我正在使用 Symfony 2 liipImagineBundle,我想要做的就是将图像旋转 180 度然后翻转它。我只想对我的形象有一个镜像视图。我怎么能用我的想象包做到这一点,或者如果在 Symfony 2 中不可能做到这一点?

4

1 回答 1

2

创建自定义过滤器: https ://github.com/liip/LiipImagineBundle/blob/master/Resources/doc/filters.md#load-your-custom-filters

使用 PHP 函数imagerotate http://php.net/manual/en/function.imagerotate.php

于 2014-12-04T06:39:53.940 回答