How to use arcpy to set symbology property of '.tif' file

377
4
04-02-2020 07:32 PM
YanghaoJu
New Contributor

Hi, I'm finding a method to solve a question. when I publish a map as service by using ArcPy, I try to change '.tif' file's background color, but I can't find a Function to set it, even look at the ArcPy Document, is there no Function to set it? If anyone has met same question, please help me, it's very important for me.

0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus

Is the tif a raster or does it represent an image?

And is this the documentation that you were reading?

Symbology—ArcPy | Documentation 

0 Kudos
YanghaoJu
New Contributor

It's just an image when I open it in ArcMap, but it can be changed background color by ArcMap. (I'm good at English, sry for not being clear about. ) I want to use a Function to set it before excuting the Function: CreateImageSDDraft(). I'm using ArcMap 10.4

0 Kudos
DanPatterson_Retired
MVP Emeritus

Sorry, don't use arcmap anymore.  

Most of arcpy symbology doesn't deal with permanent changes to the symbology, that is more of an imagery issue than a python/arcpy issue

0 Kudos
YanghaoJu
New Contributor

Does it mean that only arcmap can deal with the problem not code?

0 Kudos