Free Trial
10 days, no credit_card

<< More Tutorials

How to resize an image by width and height in cURL using rethumb?

To resize an image or photo in cURL use the following code:

curl http://api.rethumb.com/v1/height/100/width/100/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 resize-by-width-and-height.sh

More examples using cURL