ERROR: unknown image mode - verify usage