Method | Description | |
---|---|---|
CreatePropertyItem ( ) : System.Drawing.Imaging.PropertyItem |
Uses reflection to allow the creation of an instance of PropertyItem.
|
|
GetEncodingParameters ( int quality ) : System.Drawing.Imaging.EncoderParameters |
Returns an instance of EncodingParameters for jpeg compression.
|
|
GetFormat ( Stream stream ) : ISupportedImageFormat |
Gets the correct ISupportedImageFormat from the given stream.
|
|
HasAlpha ( Image image ) : bool |
Returns a value indicating whether the given image has an alpha channel.
|
|
IsAnimated ( Image image ) : bool |
Returns a value indicating whether the given image is animated.
|
|
IsIndexed ( Image image ) : bool |
Returns a value indicating whether the given image is indexed.
|
public static CreatePropertyItem ( ) : System.Drawing.Imaging.PropertyItem | ||
return | System.Drawing.Imaging.PropertyItem |
public static GetEncodingParameters ( int quality ) : System.Drawing.Imaging.EncoderParameters | ||
quality | int | The quality to return the image at. |
return | System.Drawing.Imaging.EncoderParameters |
public static GetFormat ( Stream stream ) : ISupportedImageFormat | ||
stream | Stream |
/// The |
return | ISupportedImageFormat |
public static HasAlpha ( Image image ) : bool | ||
image | Image |
/// The |
return | bool |
public static IsAnimated ( Image image ) : bool | ||
image | Image |
/// The |
return | bool |
public static IsIndexed ( Image image ) : bool | ||
image | Image |
/// The |
return | bool |