Cover resize now Available

Our new operation cover is now available. This feature allows you to resize an image to any dimension: upscaling, downscaling and cropping as needed.

An example, if you have an image with dimensions 300 x 300 px you can use the following request to get a new 150 x 200 px image:

https://api.rethumb.com/v1/cover/150x200/format/jpg/http://images.rethumb.com/image_coimbra_300x300.jpg

Original image

As you can see the new image itseft have no distortion in any way:

Transformed image

This feature is very similiar to CSS background cover, you can read more about it here: CSS3 background-size Property.

Check our API for more details on how to use this new transformation.