Rotation by any angle (Rotate)
One of the operators provided by the Bildero Solution which enables working with an image is the operator of rotation by any angle. This operator enables an image rotation by any angle within the range: 0 – 360. If an angle is different than the multiple of 90 degrees then a black background is added. It is advisable to use png as a resultant format while rotation, because in this case the background of rotation is transparent. The rotation is performed clockwise.
Why use the Rotate operator?
- in the most inventive and fanciful websites you can embed images using e.g. 45 degree rotation
- helpful when you need convert vertical images into horizontal ones and vice versa
Examples
Note: to rotate an image by any requested angle you should use the parameter for variable in the "get url".
Feel free to change the angle with clicking the link and changing the parameter:
_________________________________________________
Original picture
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12"
__________________________________________________
45 degree rotation
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12&rotate=45"
_________________________________________________
90 degree rotation
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12&rotate=90"
__________________________________________________
180 degree rotation
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12&rotate=180"
__________________________________________________
FLIP operator
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12&fh=1"
___________________________________________________
FLOP operator
"http://72.s101.bildero.com/demo/d12.jpg?mode=const&out=png&onfly=1&scale=12&fv=1"
_____________________________________________________
