CSJ2K.j2k.image.input.ImgReader.getTileCompWidth C# (CSharp) Method

getTileCompWidth() public method

Returns the width in pixels of the specified tile-component. This default implementation assumes no tiling and no component subsampling (i.e., all components, or components, have the same dimensions in pixels).
public getTileCompWidth ( int t, int c ) : int
t int Tile index /// ///
c int The index of the component, from 0 to C-1. /// ///
return int
        public virtual int getTileCompWidth(int t, int c)
        {
            if (t != 0)
            {
                throw new System.InvalidOperationException("Asking a tile-component width for a tile index" + " greater than 0 whereas there is only one tile");
            }
            return w;
        }