trim

Remove pixels from the edge of an image.

The trim parameter removes pixels from the edge of an image by pixel or percentage value. This can be useful for removing whitespace and borders that appear on a source image.


This is a companion discussion topic for the original entry at https://developer.fastly.com/reference/io/trim