Updated to use doubles image.