Can I add transparent padding?

I’m adding padding to an image using the pad extract crop strategy. I would like to add the padding as transparent color. It doesn’t seem that the option exists in the background effect.
Is there any way I can achieve that?

Ok the way to get transparent padding is to omit entirely the background parameter :x:

This actually doesn’t work, see the other answer for the solution

I think a pad_resize would be more suitable cropping strategy.

https://ik.imagekit.io/demo/default-image.jpg?tr=w-600,h-800,cm-pad_resize,bg-FFFF0020

The last two digits of the color code determine the transparency level from 00 to 99. If you remove the last two, then it is 100.

Yeah, that works! Any color with 00 as the opacity will create a transparent padding :+1:

Thanks you