InterpolationMethod enum 
Color interpolation methods enum.
ts
enum InterpolationMethod {
  AVERAGE = 1,
  AVERAGE_9 = 2,
  AVERAGE_16 = 3,
  BACKGROUND = 4,
  INTEGER = 8,
}Method descriptions 
AVERAGE 
Returns average color of 4 closest neighbor pixels.
AVERAGE_9 
Returns average color of 9 closest neighbor pixels.
AVERAGE_16 
Returns average color of 16 closest neighbor pixels.
BACKGROUND 
Returns image background color. Uses for debugging.
INTEGER 
Returns single pixel color (no interpolation).
