Crop image files

Welcome to the Crop image guide. This guide will teach you how to Crop one or more images easily.

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


To crop an image you need to set the origin from where start, with x and y coordinates and the size of the area to crop:

Download the PHP library from GitHub

The functions setX() setY() can define the origin from where start to crop the image.

With the setWidth() and setHeight() You set the area to crop.