C# Class CatEye.Core.RawLoader

显示文件 Open project: bigfatbrowncat/CatEye Class Usage Examples

Public Properties

Property Type Description
RAW_EXTENSIONS string[]

Public Methods

Method Description
Downscale ( int k, ProgressReporter callback ) : bool
FromFile ( string filename, bool divide_by_2, ProgressReporter callback ) : RawLoader
IsRaw ( string filename ) : bool

Protected Methods

Method Description
RawLoader ( int width, int height ) : System

Private Methods

Method Description
RawLoader ( ) : System

Method Details

Downscale() public method

public Downscale ( int k, ProgressReporter callback ) : bool
k int
callback ProgressReporter
return bool

FromFile() public static method

public static FromFile ( string filename, bool divide_by_2, ProgressReporter callback ) : RawLoader
filename string
divide_by_2 bool
callback ProgressReporter
return RawLoader

IsRaw() public static method

public static IsRaw ( string filename ) : bool
filename string
return bool

RawLoader() protected method

protected RawLoader ( int width, int height ) : System
width int
height int
return System

Property Details

RAW_EXTENSIONS public_oe static_oe property

public static string[] RAW_EXTENSIONS
return string[]