Can somebody confirm whether raster::values(x, format = "") always starts in the top-left of the image and moves left-to-right then top-to-bottom? I'm really hoping it doesn't depend on the pixel order of the underlying raster. Thanks, Oliver