Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

EnumGrayscaleTransformationMode

  • Android
  • Objective-C
  • Swift
public class EnumGrayscaleTransformationMode {
    public static final int GTM_INVERTED = 1;
    public static final int GTM_ORIGINAL = 2;
    public static final int GTM_SKIP = 0;
}
typedef NS_ENUM(NSInteger, EnumGrayscaleTransformationMode)
{
    /** Transforms to the inverted grayscale for further reference. This value is recommended for light on dark images. */
    EnumGrayscaleTransformationModeInverted = 0x01,
    /** Keeps the original grayscale for further reference. This value is recommended for dark on light images. */
    EnumGrayscaleTransformationModeOriginal = 0x02,
    /** Skips grayscale transformation. */
    EnumGrayscaleTransformationModeSkip = 0x00
};
public enum EnumGrayscaleTransformationMode : Int{
    /** Transforms to the inverted grayscale for further reference. This value is recommended for light on dark images. */
    inverted = 0x01
    /** Keeps the original grayscale for further reference. This value is recommended for dark on light images. */
    original = 0x02
    /** Skips grayscale transformation. */
    skip = 0x00
}

This page is compatible for:

Is this page helpful?

YesYes NoNo