Performance tuning for pushImage() for same image size case.