Gets the format used to encode an image in a stream.
Namespace:
C1.Phone.ImagingAssembly: C1.Phone.Imaging (in C1.Phone.Imaging.dll)
Syntax
C# |
---|
public static ImageFormat GetImageFormat( Stream stream ) |
Visual Basic |
---|
Public Shared Function GetImageFormat ( _ stream As Stream _ ) As ImageFormat |
Parameters
- stream
- Type: System.IO..::..Stream
Stream that contains the encoded image.