TrimType

The type of pixels to trim around an image.

Values

Name

Description

Value

TrimType.BOTTOMRIGHT

Removes from the image an area the color of the lower right pixel.

9

TrimType.TOPLEFT

Removes from the image an area the color of the upper left pixel.

1

TrimType.TRANSPARENT

Trims away transparency at the edges of the image, leaving the smallest image containing nontransparent pixels.

0