ImageMan.Net Version 3 Summer 2012 Release
Process Method
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > ModifyBitDepthCommand Class : Process Method

Image To Process

Glossary Item Box

Modify the Bit Depth of the image


Visual Basic (Declaration) 
Public Overridable Function Process( _
   ByVal image As ImImage _
) As ImImage
Visual Basic (Usage)Copy Code
Dim instance As ModifyBitDepthCommand
Dim image As ImImage
Dim value As ImImage
value = instance.Process(image)
public virtual ImImage Process( 
   ImImage image
public function Process( 
   image : ImImage
) : ImImage;
Managed Extensions for C++ 
public: virtual ImImage* Process( 
   ImImage* image
virtual ImImage^ Process( 
   ImImage^ image


Image To Process

Return Value

Modifies Image passed in


Return a new image based on a custom palette, or choosing a method of palette creation when reducing bit depth. Or based on current image color information if increasing color depth. The desired bit depth can be specified with the bit depth property or by using the pixel format property or by specifying the number of colors.

Because this function returns a new imagecancel will have an effect. If the method is cancelled a NULL will be returned.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.