ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image.invcomptransf Namespace / InvCompTransf Class / calcMixedBitDepths Method
The bitdepth of each un-transformed component
The type ID of the inverse component tranformation
If not null the results are stored in this array, otherwise a new array is allocated and returned.

In This Topic
    calcMixedBitDepths Method (InvCompTransf)
    In This Topic
    Calculates the bitdepths of the transformed components, given the bitdepth of the un-transformed components and the component tranformation type.
    Syntax
    'Declaration
     
    
    Public Shared Function calcMixedBitDepths( _
       ByVal utdepth() As Integer, _
       ByVal ttype As Integer, _
       ByVal tdepth() As Integer _
    ) As Integer()
    public static int[] calcMixedBitDepths( 
       int[] utdepth,
       int ttype,
       int[] tdepth
    )

    Parameters

    utdepth
    The bitdepth of each un-transformed component
    ttype
    The type ID of the inverse component tranformation
    tdepth
    If not null the results are stored in this array, otherwise a new array is allocated and returned.

    Return Value

    The bitdepth of each transformed component.
    See Also