ArcObjects Library Reference (Carto)  

ImageServer CoClass

The ArcGIS Server Image Server class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IImageServer Provides access to members that control an image server.
IImageServer2 Provides access to members that control an image server.
IImageServer3 Provides access to members that control an image server object (SO).
IImageServerInit Provides access to members that control image server initialization.
IImageServerInit2 Provides access to members that support initializing an image server.
IImageServerObjects Provides access to core objects contained within an image server object.
ILogSupport (esriSystem) Provides access to methods for initializing an object for logging.
IObjectActivate (esriSystem) Provides access to methods for activating and deactivating objects.
IObjectConstruct (esriSystem) Provides access to methods for constructing an object.
IRequestHandler (esriSystem) Provides access to members that control handing of request messages.
IRequestHandler2 (esriSystem) Provides access to members that control handing of request messages.
IServerObject (esriServer) Provides access to properties of a map or geocode server object.
IServerObjectExtensionManager (esriServer) Provides access to members that help locate installed server object extensions.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Remarks

The ImageServer server object provides the implementation of the image service, and supports IImageServer, IImageServer2, IImageServer3 interfaces. These interfaces are used to query the service information, and fetch pixels. The pixels are returned in a byte array and arranged in a band interleaved by pixel format plus a NoData mask. The byte array can be optionally compressed using JPEG (plus transparency), and LZ77 compression. These interfaces also support exporting an image into a well-known format and returning it as MIME data, or a URL. The supported well-known image format includes JPEG (plus transparency mask), PNG, BMP, and TIFF. IImageServer2 and IImageServer3 provides an additional method to scale the image into squared pixel size and export to a well-known format. IImageServer3 provides additional methods to access the catalog of an image service published from a mosaic definition, such as select catalog items based on a query, get the catalog items, metadata, and download the selected items.