Make sure to return integers in `Image::getPixelValue()`