TiffBitmapEncoder 类

定义

定义用于编码标记图像文件格式 (TIFF) 格式图像的编码器。Defines an encoder that is used to encode Tagged Image File Format (TIFF) format images.

public ref class TiffBitmapEncoder sealed : System::Windows::Media::Imaging::BitmapEncoder
public sealed class TiffBitmapEncoder : System.Windows.Media.Imaging.BitmapEncoder
type TiffBitmapEncoder = class
    inherit BitmapEncoder
Public NotInheritable Class TiffBitmapEncoder
Inherits BitmapEncoder
继承

注解

标记图像文件格式 (TIFF)Tagged Image File Format (TIFF)位图格式支持帧级缩略图、多帧和帧级元数据。The 标记图像文件格式 (TIFF)Tagged Image File Format (TIFF) bitmap format supports frame level thumbnails, multiple frames, and frame level metadata. 它不支持全局预览、全局缩略图或全局元数据。It does not support global preview, global thumbnails, or global metadata.

编码在部分信任环境中不起作用。Encoding does not work in partial trust. 有关部分信任的信息, 请参阅WPF 部分信任安全性See WPF Partial Trust Security for information on partial trust.

构造函数

TiffBitmapEncoder()

初始化 TiffBitmapEncoder 类的新实例。Initializes a new instance of the TiffBitmapEncoder class.

属性

CodecInfo

获取此编解码器的相关描述信息。Gets information that describes this codec.

(继承自 BitmapEncoder)
ColorContexts

获取或设置一个值,该值表示与此编码器关联的颜色配置文件。Gets or sets a value that represents the color profile that is associated with this encoder.

(继承自 BitmapEncoder)
Compression

获取或设置一个值,该值表示此标记图像文件格式 (TIFF)Tagged Image File Format (TIFF) 图像所使用的压缩类型。Gets or sets a value that indicates the type of compression that is used by this 标记图像文件格式 (TIFF)Tagged Image File Format (TIFF) image.

Dispatcher

获取与此 Dispatcher 关联的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(继承自 DispatcherObject)
Frames

获取或设置图像内的各帧。Gets or sets the individual frames within an image.

(继承自 BitmapEncoder)
Metadata

获取或设置编码期间将与此位图关联的元数据。Gets or sets the metadata that will be associated with this bitmap during encoding.

(继承自 BitmapEncoder)
Palette

获取或设置一个值,该值表示编码位图的 BitmapPaletteGets or sets a value that represents the BitmapPalette of an encoded bitmap.

(继承自 BitmapEncoder)
Preview

获取或设置一个 BitmapSource,用于表示位图的全局预览(如有)。Gets or sets a BitmapSource that represents the global preview of a bitmap, if there is one.

(继承自 BitmapEncoder)
Thumbnail

获取或设置一个 BitmapSource,用于表示全局嵌入式缩略图。Gets or sets a BitmapSource that represents the global embedded thumbnail.

(继承自 BitmapEncoder)

方法

CheckAccess()

确定调用线程是否可以访问此 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)
Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Save(Stream)

将位图图像编码为指定的 StreamEncodes a bitmap image to a specified Stream.

(继承自 BitmapEncoder)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)
VerifyAccess()

强制调用线程具有此 DispatcherObject 的访问权限。Enforces that the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)

适用于

另请参阅