Method | Description | |
---|---|---|
Encode ( |
The encode.
|
|
Resize ( |
The resize.
|
|
Rotate ( |
The rotate.
|
|
ToGreyScale ( |
The to grey scale.
|
|
Watermark ( |
The watermark.
|
|
Zoom ( |
The zoom.
|
public Encode ( |
||
source | /// The source. /// | |
imageFormat | /// The image format. /// | |
return | byte[] |
public Resize ( |
||
source | /// The source. /// | |
width | int | /// The width. /// |
height | int | /// The height. /// |
preservePerspective | bool | /// The preserve perspective. /// |
keepSquare | bool | |
bgColor | Color | |
return |
public Rotate ( |
||
source | /// The source. /// | |
angle | float | /// The angle. /// |
return |
public ToGreyScale ( |
||
source | /// The source. /// | |
return |
public Watermark ( |
||
source | /// The source. /// | |
watermarkText | string | /// The watermark text. /// |
fontSize | float | /// The font size. /// |
alpha | int | /// The alpha. /// |
color | Color | /// The color. /// |
return |
public Zoom ( |
||
source | /// The source. /// | |
zoomFactor | float | /// The zoom factor. /// |
return |