ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / RasterImageryOptions Class / SetPyramidCompressionQuality Method
The compression quality

In This Topic
    SetPyramidCompressionQuality Method
    In This Topic
    Sets the pyramid compression quality. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetPyramidCompressionQuality( 
       int value
    )
    Public Sub SetPyramidCompressionQuality( _
       ByVal value As Integer _
    ) 

    Parameters

    value
    The compression quality
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    This should only be used when PyramidCompressionType is PyramidCompressionType.JPEG or PyramidCompressionType.JPEG_YCbCr. The compression quality value must be between 1 and 100. If a value is supplied outside this range then it is converted to be within the range.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also