Method | Description | |
---|---|---|
ConvertToBytes ( Image image ) : byte[] |
Converts an image to a byte array.
|
|
ConvertToBytes ( Image image, |
Converts an image to a byte array.
|
|
ConvertToImage ( byte content ) : Image |
Convert byte arry to an image object.
|
|
ConvertToThumbNail ( byte imageContents, int thumbNailWidth, int thumbNailHeigth ) : byte[] |
Convert the image contents as a byte[] into a thumbnail represented by another byte[].
|
|
GetDimensions ( byte imageContents ) : int>.Tuple |
Returns the height and width of the image.
|
public ConvertToBytes ( Image image ) : byte[] | ||
image | Image | Image to convert. |
return | byte[] |
public ConvertToBytes ( Image image, |
||
image | Image | Image to convert. |
format | The format of the image. | |
return | byte[] |
public static ConvertToImage ( byte content ) : Image | ||
content | byte | The bytes representing the image. |
return | Image |
public static ConvertToThumbNail ( byte imageContents, int thumbNailWidth, int thumbNailHeigth ) : byte[] | ||
imageContents | byte | The byte[] for the original contents. |
thumbNailWidth | int | Width for thumbnail |
thumbNailHeigth | int | Height for thumbnail |
return | byte[] |
public static GetDimensions ( byte imageContents ) : int>.Tuple |
||
imageContents | byte | Byte array with converted image. |
return | int>.Tuple |