Метод | Описание | |
---|---|---|
Trim ( this image, string value ) : ImgixImage |
Adds the trim parameter to the image url.
|
|
TrimColor ( this image, string value ) : ImgixImage |
Adds the timecolor parameter to the image url
|
|
TrimMeanDifference ( this image, int value ) : ImgixImage |
The difference threshhold used when trimming a border. Only valid when trim is set to auto
|
|
TrimStandardDeviation ( this image, int value ) : ImgixImage |
Defines the standard deviation among pixels in a border. Only valid when trim is set to auto
|
|
TrimTolerance ( this image, int value ) : ImgixImage |
DEfines the tolerance when trim has been set to color.
|
public static Trim ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// The trim operation to perform /// Values: auto or color /// |
Результат | ImgixImage |
public static TrimColor ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// A three or six char hex color string /// |
Результат | ImgixImage |
public static TrimMeanDifference ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// A lower value makes the trimming more aggressive /// Default: 11 /// |
Результат | ImgixImage |
public static TrimStandardDeviation ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The standard deviation /// Default: 10 /// |
Результат | ImgixImage |
public static TrimTolerance ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The tolerance /// Default: 0 /// |
Результат | ImgixImage |