EncoderValue EncoderValue EncoderValue EncoderValue Enum

定义

用于指定在使用 Save(String, ImageCodecInfo, EncoderParameters)SaveAdd(EncoderParameters) 方法时传递给 JPEG 或 TIFF 图像编码器的参数值。Used to specify the parameter value passed to a JPEG or TIFF image encoder when using the Save(String, ImageCodecInfo, EncoderParameters) or SaveAdd(EncoderParameters) methods.

public enum class EncoderValue
public enum EncoderValue
type EncoderValue = 
Public Enum EncoderValue
继承

字段

ColorTypeCMYK ColorTypeCMYK ColorTypeCMYK ColorTypeCMYK 0

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

ColorTypeYCCK ColorTypeYCCK ColorTypeYCCK ColorTypeYCCK 1

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

CompressionCCITT3 CompressionCCITT3 CompressionCCITT3 CompressionCCITT3 3

指定 CCITT3 压缩方案。Specifies the CCITT3 compression scheme. 可以作为属于压缩类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the compression category.

CompressionCCITT4 CompressionCCITT4 CompressionCCITT4 CompressionCCITT4 4

指定 CCITT4 压缩方案。Specifies the CCITT4 compression scheme. 可以作为属于压缩类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the compression category.

CompressionLZW CompressionLZW CompressionLZW CompressionLZW 2

指定 LZW 压缩方案。Specifies the LZW compression scheme. 可以作为属于压缩类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the Compression category.

CompressionNone CompressionNone CompressionNone CompressionNone 6

不指定压缩。Specifies no compression. 可以作为属于压缩类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the compression category.

CompressionRle CompressionRle CompressionRle CompressionRle 5

指定 RLE 压缩方案。Specifies the RLE compression scheme. 可以作为属于压缩类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the compression category.

Flush Flush Flush Flush 20

指定应关闭一个多帧文件或流。Specifies that a multiple-frame file or stream should be closed. 可以作为属于保存标志类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the save flag category.

FrameDimensionPage FrameDimensionPage FrameDimensionPage FrameDimensionPage 23

指定要将一帧添加到图像的页面维度。Specifies that a frame is to be added to the page dimension of an image. 可以作为属于保存标志类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the save flag category.

FrameDimensionResolution FrameDimensionResolution FrameDimensionResolution FrameDimensionResolution 22

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

FrameDimensionTime FrameDimensionTime FrameDimensionTime FrameDimensionTime 21

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

LastFrame LastFrame LastFrame LastFrame 19

指定多帧图像中的最后一帧。Specifies the last frame in a multiple-frame image. 可以作为属于保存标志类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the save flag category.

MultiFrame MultiFrame MultiFrame MultiFrame 18

指定图像有多于 1 帧(页面)。Specifies that the image has more than one frame (page). 可以作为属于保存标志类别的参数传递到 TIFF 编码器。Can be passed to the TIFF encoder as a parameter that belongs to the save flag category.

RenderNonProgressive RenderNonProgressive RenderNonProgressive RenderNonProgressive 12

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

RenderProgressive RenderProgressive RenderProgressive RenderProgressive 11

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

ScanMethodInterlaced ScanMethodInterlaced ScanMethodInterlaced ScanMethodInterlaced 7

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

ScanMethodNonInterlaced ScanMethodNonInterlaced ScanMethodNonInterlaced ScanMethodNonInterlaced 8

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

TransformFlipHorizontal TransformFlipHorizontal TransformFlipHorizontal TransformFlipHorizontal 16

指定图像将要水平翻转(绕垂直轴)。Specifies that the image is to be flipped horizontally (about the vertical axis). 可以作为属于转换类别的参数传递到 JPEG 编码器。Can be passed to the JPEG encoder as a parameter that belongs to the transformation category.

TransformFlipVertical TransformFlipVertical TransformFlipVertical TransformFlipVertical 17

指定图像将要垂直翻转(绕水平轴)。Specifies that the image is to be flipped vertically (about the horizontal axis). 可以作为属于转换类别的参数传递到 JPEG 编码器。Can be passed to the JPEG encoder as a parameter that belongs to the transformation category.

TransformRotate180 TransformRotate180 TransformRotate180 TransformRotate180 14

指定图像将围绕其中心旋转 180 度。Specifies that the image is to be rotated 180 degrees about its center. 可以作为属于转换类别的参数传递到 JPEG 编码器。Can be passed to the JPEG encoder as a parameter that belongs to the transformation category.

TransformRotate270 TransformRotate270 TransformRotate270 TransformRotate270 15

指定图像将围绕其中心沿顺时针方向旋转 270 度。Specifies that the image is to be rotated clockwise 270 degrees about its center. 可以作为属于转换类别的参数传递到 JPEG 编码器。Can be passed to the JPEG encoder as a parameter that belongs to the transformation category.

TransformRotate90 TransformRotate90 TransformRotate90 TransformRotate90 13

指定图像将围绕其中心沿顺时针方向旋转 90 度。Specifies that the image is to be rotated clockwise 90 degrees about its center. 可以作为属于转换类别的参数传递到 JPEG 编码器。Can be passed to the JPEG encoder as a parameter that belongs to the transformation category.

VersionGif87 VersionGif87 VersionGif87 VersionGif87 9

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

VersionGif89 VersionGif89 VersionGif89 VersionGif89 10

在 GDI+ 1.0 版中不使用。Not used in GDI+ version 1.0.

注解

调用Save Image对象的或SaveAdd方法时, 可以通过将EncoderParameters对象传递给SaveSaveAdd方法, 将参数传递给图像编码器。When you call the Save or SaveAdd method of an Image object, you can pass parameters to the image encoder by passing an EncoderParameters object to the Save or SaveAdd method. 对象包含对象的EncoderParameter数组。 EncoderParametersAn EncoderParameters object contains an array of EncoderParameter objects. EncoderParameter个对象都具有值的数组Encoder和指定参数类别的属性。Each EncoderParameter object has an array of values and an Encoder property that specifies the parameter category. EncoderValue枚举为某些值提供可传递到 JPEG 和 TIFF 图像编码器的名称。The EncoderValue enumeration provides names for some of the values that can be passed to the JPEG and TIFF image encoders.

适用于