The ImageUtility type exposes the following members.

Methods

  Name Description
Public method Static member Base64ToImage
Convert base64 string to image
Public method Static member ConvertVideo
Public method Static member CreateDocumentThumbnail
Generates a thumbnail for various document types other than images - doc, pdf, etc.
Public method Static member CreateDocumentThumbnailPath
Generates a thumbnail for various document types other than images - doc, pdf, etc.
Public method Static member CreateImageThumbnail(ImageFormatterEventArgs)
This method generates the image thumbnail.
Public method Static member CreateImageThumbnail(Image, Int32)
This method generates the image thumbnail.
Public method Static member CreateThumbnail(Stream, Int32)
Creates an image thumbnail.
Public method Static member CreateThumbnail(String, ImageFormatterEventArgs)
Creates a thumbnail.
Public method Static member CreateThumbnail(String, Int32)
Creates a thumbnail.
Public method Static member CreateThumbnail(Stream, String, ImageFormatterEventArgs)
Creates a thumbnail.
Public method Static member GetImageFormat
Gets the image format from the byte array.
Public method Static member GetThumbnailFileName
Gets thumbnail file name.
Public method Static member ImageToBase64
Converts image to base64 string
Public method Static member IsFlashFile
Checks if the filePath corresponds to the flash (swf) file type.
Public method Static member IsFlvVideo
Checks if the filePath corresponds to the FLV file type.
Public method Static member IsValidImage
Checks if the file is image or some other format.
Public method Static member IsVideoFile
Checks if the file is in video format.
Public method Static member ResizeImage(array<Byte>[]()[][], Int32, String)
Create resized image from large image (Resize/Strech).
Public method Static member 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
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also