How to transform a portrait image to landscape?
How can i transform portrait image to landscape by adding a black background or blurring? I went through this tutorial https://support.cloudinary.com/hc/en-us/articles/206112219-How-to-transform-a-portrait-image-to-landscape-by-adding-blurry-padding but I couldn't understand it. I want a link like this
for my android app.. I can't figure out how to do it. Kindly help pls. I get these options..what and how to do it?
Thankyou
-
Hi Maninder,
You can apply the exact same transformation as explained in the knowledge base directly into your URL. For example,
Please note that as the underlay we used the following structure u_TrainersPics:5. Since the regular folder separator (/) is also the chained transformation separator, we use a colon (:) as an alternative separator for overlay and underlay.
Hopes this helps
1 -
Please take a look at the following UI example- https://cl.ly/3V1h2B2h3I22
0 -
Oh woww! Thanks alot🙂
Is it possible to add blur effect to both sides, i mean left and right so that it appears to be a part of background too.?0 -
Hi Maninder,
This is indeed possible. Please take a look at our documentation for more information on how to apply borders to images- https://cloudinary.com/documentation/image_transformations#adding_image_borders
0
Post is closed for comments.
Comments
4 comments