ArcGIS Pro 2.8 API Reference Guide
SetCompressionQuality Method

ArcGIS.Core.Data.Raster Namespace > RasterStorageDef Class : SetCompressionQuality Method
The compression quality to set.
Sets the compression quality of the raster to be stored on this raster storage definition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetCompressionQuality( 
   int quality
)
Public Sub SetCompressionQuality( _
   ByVal quality As Integer _
) 

Parameters

quality
The compression quality to set.
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 10, Windows 8.1

See Also

Reference

RasterStorageDef Class
RasterStorageDef Members