Free Trial
10 days, no credit_card

<< More Tutorials

How to resize an image to cover any dimensions in cURL using rethumb?

To resize an image, with our "cover" operation, in cURL use the following code:

curl http://api.rethumb.com/v1/cover/150x200/http://images.rethumb.com/image_coimbra_600x300.jpg > resized-image.jpg

Start using this example now

Use the following commands to get started:

$ git clone https://github.com/rethumb/rethumb-curl-examples.git
$ cd rethumb-curl-examples
$ sh cover.sh

More examples using cURL