The ImageUtils type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ImageUtils | DotNetNuke.Common.Utilities.ImageUtils |
Methods
| Name | Description | |
|---|---|---|
| CreateImage(String) |
create an image
| |
| CreateImage(String, Int32, Int32) |
create an image
| |
| CreateImage(Stream, Int32, Int32, String) | ||
| CreateImageForDB |
create an image based on a stream (read from a database)
| |
| CreateJPG |
create a JPG image
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEncoderInfo |
return the approriate encoded for the mime-type of the image being created
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHeight |
return height of image
| |
| GetHeightFromStream |
return height of image
| |
| GetSize | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWidth |
return width of image
| |
| GetWidthFromStream |
width of image
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NewImageSize |
scale an image based on existing dimensions and updated requirement
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |