pass options to callback when calling getFrameAsync on compressed images