release input image as early as possible