ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterStorageDef Class / GetCompressionQuality Method

In This Topic
    GetCompressionQuality Method
    In This Topic
    Gets the compression quality of the raster to be stored from this raster storage definition. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int GetCompressionQuality()
    Public Function GetCompressionQuality() As Integer

    Return Value

    An integer representing the compression quality.
    Remarks
    The compression quality property specifies the compression quality if the compression type is JPEG or JPEG 2000. The valid range is 5 to 95 where 95 is the best quality. By default, the compression quality is set to 75.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also