Method | Description | |
---|---|---|
Resize ( this img, int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight ) : Image | ||
ResizeCropExcess ( string path, int dstWidth, int dstHeight ) : byte[] | ||
ResizeProportional ( this img, int width, int height, bool enlarge = false ) : Image |
public static Resize ( this img, int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight ) : Image | ||
img | this | |
srcX | int | |
srcY | int | |
srcWidth | int | |
srcHeight | int | |
dstWidth | int | |
dstHeight | int | |
return | Image |
public static ResizeCropExcess ( string path, int dstWidth, int dstHeight ) : byte[] | ||
path | string | |
dstWidth | int | |
dstHeight | int | |
return | byte[] |
public static ResizeProportional ( this img, int width, int height, bool enlarge = false ) : Image | ||
img | this | |
width | int | |
height | int | |
enlarge | bool | |
return | Image |