The ImageUtility type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ImageUtility |
Initializes a new instance of the ImageUtility class
|
Methods
Name | Description | |
---|---|---|
Base64ToImage |
Convert base64 string to image
|
|
ConvertVideo | ||
CreateDocumentThumbnail |
Generates a thumbnail for various document types other than images - doc, pdf, etc.
|
|
CreateDocumentThumbnailPath |
Generates a thumbnail for various document types other than images - doc, pdf, etc.
|
|
CreateImageThumbnail(ImageFormatterEventArgs) |
This method generates the image thumbnail.
|
|
CreateImageThumbnail(Image, Int32) |
This method generates the image thumbnail.
|
|
CreateThumbnail(Stream, Int32) |
Creates an image thumbnail.
|
|
CreateThumbnail(String, ImageFormatterEventArgs) |
Creates a thumbnail.
|
|
CreateThumbnail(String, Int32) |
Creates a thumbnail.
|
|
CreateThumbnail(Stream, String, ImageFormatterEventArgs) |
Creates a thumbnail.
|
|
GetImageFormat |
Gets the image format from the byte array.
|
|
GetThumbnailFileName |
Gets thumbnail file name.
|
|
ImageToBase64 |
Converts image to base64 string
|
|
IsFlashFile |
Checks if the filePath corresponds to the flash (swf) file type.
|
|
IsFlvVideo |
Checks if the filePath corresponds to the FLV file type.
|
|
IsValidImage |
Checks if the file is image or some other format.
|
|
IsVideoFile |
Checks if the file is in video format.
|
|
ResizeImage(array<Byte>[]()[][], Int32, String) |
Create resized image from large image (Resize/Strech).
|
|
ResizeImage(Boolean, Boolean, array<Byte>[]()[][], Int32, Int32, ImageFormat) |
Creates a formatted image from the passed image (Resizes the original image and converts it to a specified image type).
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Properties
Name | Description | |
---|---|---|
FileTypeIcons |
Gets the file type icons.
|
|
VideoFileTypeIcons |
Gets the video file type icons.
|