Changes image pixel format using a combination of palette type and dithering algorithm when necessary.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool ConvertTo(
	IEImage..::..PixelFormat pixelFormat,
	IEImage..::..PaletteType paletteType,
	IEImage..::..DitherAlgorithm ditherType,
	bool checkParametersOnly
)
Public Function ConvertTo ( _
	pixelFormat As IEImage..::..PixelFormat, _
	paletteType As IEImage..::..PaletteType, _
	ditherType As IEImage..::..DitherAlgorithm, _
	checkParametersOnly As Boolean _
) As Boolean
public:
bool ConvertTo(
	IEImage..::..PixelFormat pixelFormat, 
	IEImage..::..PaletteType paletteType, 
	IEImage..::..DitherAlgorithm ditherType, 
	bool checkParametersOnly
)

Parameters

pixelFormat
IEImage..::..PixelFormat
Required pixel format. Can be: ie1g, ie8p, ie8g, ie16g, ie24RGB, ieCMYK, ie48RGB.
paletteType
IEImage..::..PaletteType
Palette type to use when reducing colors.
ditherType
IEImage..::..DitherAlgorithm
Dither type to use when reducing colors.
checkParametersOnly
Boolean
If True, does not actually convert the image, just checks parameters validity.

Return Value

Not all combinations of parameters are possible, check the return value. Returns True on success.

See Also