'Declaration
Public Function ColorDetection( _ ByVal ImageID As Integer, _ ByVal AutoConvert As Boolean, _ ByVal ScanningContext As Boolean, _ ByVal AutoRepairCharacters As Boolean _ ) As GdPictureOutputIntent
public GdPictureOutputIntent ColorDetection( int ImageID, bool AutoConvert, bool ScanningContext, bool AutoRepairCharacters )
public function ColorDetection( ImageID: Integer; AutoConvert: Boolean; ScanningContext: Boolean; AutoRepairCharacters: Boolean ): GdPictureOutputIntent;
public function ColorDetection( ImageID : int, AutoConvert : boolean, ScanningContext : boolean, AutoRepairCharacters : boolean ) : GdPictureOutputIntent;
public: GdPictureOutputIntent ColorDetection( int ImageID, bool AutoConvert, bool ScanningContext, bool AutoRepairCharacters )
public: GdPictureOutputIntent ColorDetection( int ImageID, bool AutoConvert, bool ScanningContext, bool AutoRepairCharacters )
Parameters
- ImageID
- GdPicture image identifier.
- AutoConvert
- Set True to automatically convert the image in its best suited / optimized bits-per-pixel encoding, otherwise False.
- ScanningContext
- This parameter is not used anymore. You can specify any value.
- AutoRepairCharacters
- Set True to enable characters repairing during bitonal conversion, if any. This feature is suggested for scanned gray papers acquired in color.
Return Value
A member of the GdPictureOutputIntent enumeration.