This feature is currently in beta.
trim-pad parameter allows you to set the number of pixels of padding around an image when
trim is set.
trim-pad accepts any absolute integer greater than 0, and will add padding on all sides of the image.
Note that the trim padding is adding prior to any width or height transformations on the image.
Below is an image with
trim=color&trimtol=200 applied. You can see the shadow is sharply cut off due to the
trim-pad=50 will add 50 pixels of padding prior to trimming the image, which preserves the shadow.