Cloudinary supports changing the aspect ratio of an image using different cropping methods, including padding with a uniform color of your choice. For example (preserving the original height):
Some people may prefer to have a softer background which will correspond to the colors of the original image but won't attract attention. In this case, you can use the following approach (preserving the original height):
If you are using our UI, you could follow the steps detailed in this video to see how to achieve the effect using the image edit screen.
The same effect can be achieved for transforming a landscape image to a 1:1 frame by preserving the original width and adjusting the aspect ratio, for example:
An additional option for changing the image orientation is making use of our automatic background color feature(
Now with the image faded into the padding:
For more information and other padding options please see: