raster_to_raw_tiles function

Crop a raster and convert the output tiles into new formats.