Wrapper for scanimage