Documentation
Table of contents

Enumeration ImageColourMode

ImageColourMode describes the output colour mode of the normalized image.

  • JavaScript
  • Android
  • Swift
  • C++
  • C#
enum EnumImageColourMode {
    /** Output image in colour mode. */
    ICM_COLOUR = 0,
    /** Output image in grayscale mode. */
    ICM_GRAYSCALE = 1,
    /** Output image in binary mode. */
    ICM_BINARY = 2
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumImageColourMode {
    /** Output colour image.*/
    public static final int ICM_COLOUR = 0;
    /** Output grayscale image.*/
    public static final int ICM_GRAYSCALE = 1;
    /** Output binary image.*/
    public static final int ICM_BINARY = 2;
    public EnumImageColourMode() {
    }
}
typedef NS_ENUM(NSInteger , DSImageColourMode)
{
    /** Output colour image.*/
    DSImageColourModeColour = 0x01,
    /** Output grayscale image.*/
    DSImageColourModeGrayscale = 0x02,
    /** Output binary image.*/
    DSImageColourModeBinary = 0x04
}NS_SWIFT_NAME(ImageColourMode);
typedef enum ImageColourMode
{
    /** Output image in colour mode. */
    ICM_COLOUR = 0,    
    /** Output image in grayscale mode. */
    ICM_GRAYSCALE = 1,     
    /** Output image in binary mode. */
    ICM_BINARY = 2
} ImageColourMode;
public enum EnumImageColourMode
{
    ICM_COLOUR = 0,
    ICM_GRAYSCALE = 1,
    ICM_BINARY = 2
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.30
    • Version 2.2.20
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.30
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support