Partager via


EncoderParameter class

Applies to: desktop apps only

An EncoderParameter object holds a parameter that can be passed to an image encoder. An EncoderParameter object can also be used to receive a list of possible values supported by a particular parameter of a particular image encoder.

EncoderParameter has these types of members:

Data Members

The following table lists the members exposed by the EncoderParameter object.

Data Members Type Description
Guid GUID Identifies the parameter category. GUIDs that represent various parameter categories (EncoderCompression, EncoderColorDepth, and the like) are defined in Gdiplusimaging.h.
NumberOfValues ULONG Number of values in the array pointed to by the Value data member.
Type ULONG Identifies the data type of the parameter. The EncoderParameterValueType enumeration in Gdiplusenums.h defines several possible value types.
Value VOID * Pointer to an array of values. Each value has the type specified by the Type data member.

 

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusimaging.h (include Gdiplus.h)

Library

Gdiplus.lib

See also

EncoderParameters

Image::GetEncoderParameterList

Image::GetEncoderParameterListSize

EncoderParameterValueType

Using Image Encoders and Decoders

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012