Method | Description | |
---|---|---|
Mark ( this image, string value ) : ImgixImage |
Adds a watermark to the image
|
|
MarkAlign ( this image, string value ) : ImgixImage |
Aligns the watermark image inside the source image.
|
|
MarkAlpha ( this image, int value ) : ImgixImage |
Adjusts the alpha blend of the watermark
|
|
MarkBase ( this image, string value ) : ImgixImage |
Sets the base url watermarks. This is mostly for setting in the imgix backend to keep urls short.
|
|
MarkFit ( this image, string value ) : ImgixImage |
Sets the watermark fit mode.
|
|
MarkHeight ( this image, double value ) : ImgixImage |
Sets the watermark height ratio
|
|
MarkHeight ( this image, int value ) : ImgixImage |
Sets the watermark height
|
|
MarkPadding ( this image, int value ) : ImgixImage |
The padding around the watermark
|
|
MarkScale ( this image, int value ) : ImgixImage |
Watermark size scaled as a percentage
|
|
MarkWidth ( this image, double value ) : ImgixImage |
Sets the watermark width ratio
|
|
MarkWidth ( this image, int value ) : ImgixImage |
Sets the watermark width
|
|
MarkXPosition ( this image, int value ) : ImgixImage |
Absolute horizontal position of the watermark from the aligned edge.
|
|
MarkYPosition ( this image, int value ) : ImgixImage |
Absolute vertical position of the watermark from the aligned edge.
|
public static Mark ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// The URL to the image used as watermark. /// Can be relative or absolute /// See the documentation for restrictions /// |
return | ImgixImage |
public static MarkAlign ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// Values: top, middle, bottom, left, center, and right /// Default: bottom,right /// Multiple values can be set seperated by comma /// |
return | ImgixImage |
public static MarkAlpha ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Values: 0-100 /// |
return | ImgixImage |
public static MarkBase ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// The base url for your watermarks. /// |
return | ImgixImage |
public static MarkFit ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// Values: clip, crop, max, and scale /// |
return | ImgixImage |
public static MarkHeight ( this image, double value ) : ImgixImage | ||
image | this | The image to transform |
value | double | /// The size ratio compared to its original size. /// Vaalues: 0.0 - 1.0 /// |
return | ImgixImage |
public static MarkHeight ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The height in pixels /// Max: 2000 /// |
return | ImgixImage |
public static MarkPadding ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The amoount of padding in pixels. /// |
return | ImgixImage |
public static MarkScale ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The size as percentage /// |
return | ImgixImage |
public static MarkWidth ( this image, double value ) : ImgixImage | ||
image | this | The image to transform |
value | double | /// The size ratio compared to its original size. /// Vaalues: 0.0 - 1.0 /// |
return | ImgixImage |
public static MarkWidth ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The width in pixels /// Max: 2000 /// |
return | ImgixImage |
public static MarkXPosition ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Pixels from the edge /// |
return | ImgixImage |
public static MarkYPosition ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Pixels from the edge /// |
return | ImgixImage |