from enum import IntEnum, IntEnum class EInterpolation(IntEnum): NEAREST = 0 LINEAR = 1 CUBIC = 2 LANCZOS3 = 3 LANCZOS4 = 4