BitMiracle.LibTiff.Classic.Tiff.IsByteSwapped C# (CSharp) Method

IsByteSwapped() public method

Gets the value indicating whether the image data was in a different byte-order than the host computer.

Note that ReadTile, ReadEncodedTile, ReadEncodedStrip and O:BitMiracle.LibTiff.Classic.Tiff.ReadScanline methods already normally perform byte swapping to local host order if needed.

Also note that ReadRawTile and ReadRawStrip do not perform byte swapping to local host order.

public IsByteSwapped ( ) : bool
return bool
        public bool IsByteSwapped()
        {
            return ((m_flags & TiffFlags.SWAB) == TiffFlags.SWAB);
        }
Tiff