BitmapCodecInfo Class
Provides information about an imaging codec.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | BitmapCodecInfo() | Initializes a new instance of BitmapCodecInfo. |
| Name | Description | |
|---|---|---|
![]() | Author | Gets a value that identifies the author of the codec. |
![]() | ContainerFormat | Gets a value that identifies the container format for the codec. |
![]() | DeviceManufacturer | Gets a value that identifies the device manufacturer of the codec. |
![]() | DeviceModels | Gets a value that identifies the device models of the codec. |
![]() | FileExtensions | Gets a value that identifies the file extensions associated with the codec. |
![]() | FriendlyName | Gets a value that represents the friendly name of the codec. |
![]() | MimeTypes | Gets a value that identifies the Multipurpose Internet Mail Extensions (MIME) associated with the codec. |
![]() | SpecificationVersion | Gets a value that identifies the specification version of the codec. |
![]() | SupportsAnimation | Gets a value that indicates whether the codec supports animation. |
![]() | SupportsLossless | Gets a value that indicates whether the codec supports lossless of images. |
![]() | SupportsMultipleFrames | Gets a value that identifies whether the codec supports multiple frames. |
![]() | Version | Gets a value that identifies the version of the codec. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(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.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The following example demonstrates how to retrieve the Author property of a given BitmapEncoder.
FileStream stream = new FileStream("empty.tif", FileMode.Create); TiffBitmapEncoder encoder = new TiffBitmapEncoder(); TextBlock myTextBlock = new TextBlock(); myTextBlock.Text = "Codec Author is: " + encoder.CodecInfo.Author.ToString(); encoder.Frames.Add(BitmapFrame.Create(image)); MessageBox.Show(myPalette.Colors.Count.ToString()); encoder.Save(stream);
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


