Change the name of a rasterdataset in an rastercatalog

Discussion created by gismoe on Jun 18, 2013
Latest reply on Jun 19, 2013 by gismoe

i want to convert all rasterdatasets from tif to png. These rasterdataset are part of a rastercatalog.

This is a my code snippet that works pretty well.

 datasetList = arcpy.ListDatasets("*","All")
 for dataset in datasetList:

But i don't know to rename the rasterdatasets from 1.tif to 1.png

I tried describe.file and but there ist only: Raster.OBJECTID=404. I can't find the real name that is shown in the column called "name".

Any suggestions?