Skip to content
marcelometal edited this page Sep 23, 2014 · 5 revisions

Usage: rotate(angle)

Description

This filter rotates the given image according to the angle passed.

Arguments

  • angle - The angle of rotation. Values can be either 0°, 90°, 180° or 270° – multiples of 90°. Angles equal to or greater than 360° will be replaced by their coterminal angle of rotation. For example, 460° will be replaced by 90°.

Example

Picture before the rotate filterPicture before the rotate filter

http://localhost:8888/unsafe/filters:rotate(90)/https://raw.githubusercontent.com/wiki/thumbor/thumbor/tom_before_rotate.jpg

Picture after the rotate filterPicture after the rotate filter

Supporting Engines: