Enums.MapServiceImageFormat enumeration

The MapServiceImageFormat can be one of:

ConstantDescription
Enums.MapServiceImageFormatDefault(0) Default
Enums.MapServiceImageFormatPNG(1) PNG
Enums.MapServiceImageFormatPNG8(2) PNG8
Enums.MapServiceImageFormatPNG24(3) PNG24
Enums.MapServiceImageFormatPNG32(4) PNG32
Enums.MapServiceImageFormatJPG(5) JPG
Enums.MapServiceImageFormatJPGPNG(6) JPGPNG (return JPG if there are no transparent pixels in the requested extent, otherwise return PNG)
Enums.MapServiceImageFormatBMP(7) BMP
Enums.MapServiceImageFormatGIF(8) GIF
Enums.MapServiceImageFormatTIFF(9) TIFF
Enums.MapServiceImageFormatUnknown(-1) Unknown

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close