Add partial image flushing.