I'm using ArcGIS Desktop 10.0.

I need to set my background rgb value of 255,255,255 to transparent. In the layer-Properties Windows > Symbology I can do it for one layer, but can I batch set this, or use ArcPy?

I have to do it for around 300 layers.

3 Answers 3


It seems that I can do it for an mxd document by going to :

Tools > ArcMAP-Options > Raster > RasterLayer > Background value

All Raster layers that are then subsequently added will receive the defined background color.


I'm not aware of any way that you can do this for existing layers in batch or via ArcPy.

However, there is an ArcGIS Idea called ArcPy.Mapping - Support Layer Symbology Property Modifications that looks like it would meet your requirement so I recommend that you vote for that.

Develop arcpy.mapping to support layer symbology modifications.

Examples include:

1. Changing ... colour (rgb and cmyk input values), size, font properies of single symbol

The option of setting the Raster Display properties at the .aprx level also works in ArcGIS Pro. Way better than doing it individually!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.