Crop rectangle picture to 1:1 (squared) image


#1

Hello upload care team,

I love your widget and I was experimenting with it.
Now I have a question regarding the crop function.
Is ist possible to add white space / transparent space to an image as I don’t want to loose parts of my image when I crop a rectangle image with the 1:1 crop function.

BR

Philipp


#2

Hi Philipp,

This type of cropping is not supported yet. We are going to implement it in the future. You can add space to an image using combination of the resize and stretch operations. For example,
https://ucarecdn.com/52da3bfc-7cd8-4861-8b05-126fef7a6994/-/preview/200x200/-/stretch/fill/-/resize/240x240/

See this article for details: Size and crop options