Rotate images

Welcome to the Rotate guide. This guide will teach you how to rotate one or more image files easily.

The Rotate image tool, has no specific attributes so this guide will focus only on the basic method while recommend you to take a look at Common features guide for an advanced use of this tool.

Remember that all Tool Guides takes into account that you have previous knowledge about the Basics to process images with our REST API but if not, we strongly recommend you to read the related guide before start with this one.

Basic Rotate image

Download the PHP library from GitHub

As you can see, with setRotation(value) you set the orientation value of your files. This function is useful for every tool and can be set with four oriontation values:

  • setRotation(0)
  • setRotation(90)
  • setRotation(180)
  • setRotation(270)