The following Python script returns the error on the final line, "RuntimeError: ERROR 010093: Output raster format UNKNOWN is unsupported.":
import arcpy inRaster = arcpy.Raster(r'C:/junk/raster.tif') outRaster = r'C:/junk/out.jpg' intermediateRas = inRaster intermediateRas.save(outRaster)
The script runs to completion if outRaster is .tif or ESRI GRID. Why does this not work for .jpg (or .jpeg)? According to the list of supported raster formats, JPEG should work.
- ArcGIS 10.2.2