C# Class Ntreev.Library.Psd.Channel

Inheritance: IChannel
显示文件 Open project: NtreevSoft/psd-parser

Public Methods

Method Description
Channel ( ) : System
Channel ( ChannelType type, int width, int height, long size ) : System
Read ( PsdReader reader, int bpp, CompressionType compressionType ) : void
ReadHeader ( PsdReader reader, CompressionType compressionType ) : void

Private Methods

Method Description
DecodeRLE ( byte src, byte dst, int packedLength, int unpackedLength ) : void
ReadData ( PsdReader reader, int bps, CompressionType compressionType, int rlePackLengths ) : void

Method Details

Channel() public method

public Channel ( ) : System
return System

Channel() public method

public Channel ( ChannelType type, int width, int height, long size ) : System
type ChannelType
width int
height int
size long
return System

Read() public method

public Read ( PsdReader reader, int bpp, CompressionType compressionType ) : void
reader PsdReader
bpp int
compressionType CompressionType
return void

ReadHeader() public method

public ReadHeader ( PsdReader reader, CompressionType compressionType ) : void
reader PsdReader
compressionType CompressionType
return void