0

I am using a Symfony 2 liipImagineBundle and all i want to do is to rotate image 180 deg and then flip it. I just want to have a mirror view of my image. How can i do it with my imagine bundle or if it not possible ho to do it in Symfony 2?

matterix
  • 85
  • 1
  • 8

1 Answers1

2

Create custom filter: https://github.com/liip/LiipImagineBundle/blob/master/Resources/doc/filters.md#load-your-custom-filters

Use PHP function imagerotate http://php.net/manual/en/function.imagerotate.php