Adobe Photoshop CS5 Object Library JS: TrimType
From Photoshop CS5
The type of pixels to trim around an image.
Value
| Name | Description | Value |
|---|---|---|
| TrimType.BOTTOMRIGHT | Removes from the image an area the color of the lower right pixel. | int 9 |
| TrimType.TOPLEFT | Removes from the image an area the color of the upper left pixel. | int 1 |
| TrimType.TRANSPARENT | Trims away transparency at the edges of the image, leaving the smallest image containing nontransparent pixels. | int 0 |
Usage
In function
void Document.trim ([type: TrimType=TrimType.TOPLEFT][, top: bool=true][, left: bool=true][, bottom: bool=true][, right: bool=true])
| Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |