Revert "Always use transform of image."
This reverts commit fc038ebbfad10ed7ccc9b80b8d2950b686f873f4.