Enum Class ImageQuality

java.lang.Object
java.lang.Enum<ImageQuality>
com.cognex.cmbsdk.enums.ImageQuality
All Implemented Interfaces:
Serializable, Comparable<ImageQuality>, Constable

public enum ImageQuality extends Enum<ImageQuality>
Image quality used when getting live image or process monitor images.
  • Enum Constant Details

    • LOW

      public static final ImageQuality LOW
      Low image quality for jpeg format.
    • MEDIUM

      public static final ImageQuality MEDIUM
      Medium image quality for jpeg format.
    • HIGH

      public static final ImageQuality HIGH
      High image quality for jpeg format.
  • Method Details

    • values

      public static ImageQuality[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImageQuality valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Gets the integer value of the current ImageQuality object.
      Returns:
      The integer value of the current ImageQuality object.