I would like to create a png in a gp service and return it to the caller.
I found this: https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-returning-wrong-raster/m... Is that true.
In my code I use CopyRaster to create the png.
There is a different in behavior if the service in async or syc.
When the service is async (default) the png is created but the return file have .tif When I replace (in the client) the tif with png I can see it.
When the process is sync it will just not create the png - it will create a tif and return it.
I even tried to put a gdal code to translate tiff to png - it just ignore it without any error message.
anybody run into this problem?