Transformations

Our partnership with best-in-class image processing and global image CDN allows us to transform, optimize, and intelligently cache your entire image library for fast websites and apps.

Image CDN

Image transformations can easily be achieved by passing parameters in your image URL. Below are examples of the different transformations that can be done.

Transformation Parameter Value Description
Resize by width w Positive integer The width of the output image interpreted as pixel width. The resulting image will be w pixels wide. Example: w=300
Resize by height h Positive integer The height of the output image interpreted as pixel height. The resulting image will be h pixels tall. Example: h=400
Masking mask ellipse, corners Masking allows you to define visible and non-visible areas of images, allowing for seamless edges. Example: mask=ellipse
Face detection fit facearea Controls how the output image is fit to its target dimensions after resizing. Example: fit=facearea
Image Formats fm gif, jpg, png, or webp Converts the image to the specified output format. Example: fm=png
Flip image flip h, v, hv Flips the image. The parameter h is for horizontal flip, v for vertical, and hv to flip along both axes. Example: flip=h