Enums

Details

class Libinsane.ConstraintType(value)

Bases: GLib.Enum

NONE = 0
RANGE = 1
LIST = 2
class Libinsane.DeviceLocations(value)

Bases: GLib.Enum

ANY = 0
LOCAL_ONLY = 1
class Libinsane.Error(value)

Bases: GLib.Enum

OK = 0
CANCELLED = 1
HW_IS_LOCKED = 10
INTERNAL_IMG_FORMAT_NOT_SUPPORTED = 11
INTERNAL_NOT_IMPLEMENTED = 12
INTERNAL_UNKNOWN_ERROR = 13
OFFLINE = 14
DEVICE_BUSY = 2
UNSUPPORTED = 3
INVALID_VALUE = 4
JAMMED = 5
COVER_OPEN = 6
IO_ERROR = 7
NO_MEM = 8
ACCESS_DENIED = 9
class Libinsane.ImgFormat(value)

Bases: GLib.Enum

RAW_RGB_24 = 0
GRAYSCALE_8 = 1
ICO = 10
JPEG2K = 11
JPEG2KX = 12
MEMORYBMP = 13
PHOTOCD = 14
PICT = 15
TIFF = 16
BW_1 = 2
BMP = 3
GIF = 4
JPEG = 5
PNG = 6
CIFF = 7
EXIF = 8
FLASHPIX = 9
class Libinsane.ItemType(value)

Bases: GLib.Enum

UNIDENTIFIED = -1
DEVICE = 0
FLATBED = 1
ADF = 2
class Libinsane.LogLevel(value)

Bases: GLib.Enum

DEBUG = 0
INFO = 1
WARNING = 2
ERROR = 3
class Libinsane.Unit(value)

Bases: GLib.Enum

NONE = 0
PIXEL = 1
BIT = 2
MM = 3
DPI = 4
PERCENT = 5
MICROSECOND = 6