Visual Basic |
---|
Public Sub SetQuality( _ ByVal TransferSyntax As String, _ ByVal Quality As Variant _ ) |
An application does not necessarily “know” which images will be sent by which transfer syntax, as the remote AE may have accepted different transfer syntaxes for different abstract syntaxes, and a common quality factor for an association would not therefore be appropriate. Instead, this method allows quality to be set for a specific transfer syntax.
The quality is specific to a given association rather than to the connection itself, and this method must therefore be after the call to SetDestination.
The following limitations apply:
At present, the only syntaxes to which this method applies are doTS_JPEGBaseline (1.2.840.10008.1.2.4.50) and doTS_JPEGExtended (1.2.840.10008.1.2.4.51), though it is also made available to private syntaxes defined through compression DLLs.
The Quality is defined as a variant in order to allow future transfer syntaxes to define their own types of quality factor.