C# Class AmaroK86.ImageFormat.ImageFile

显示文件 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
fileName string
format string
headData byte[]
imgData byte[]
imgSize ImageSize

Public Methods

Method Description
CprFormat ( string format ) : bool
ImageDataSize ( ImageSize imgsize, string format, float BytesPerPixel ) : long
ToArray ( ) : byte[]
resize ( ) : byte[]
subtype ( ) : string

Protected Methods

Method Description
ImageFile ( string fileName, ImageSize imgSize, string format ) : System
ImageFile ( string fileName, byte data ) : System
flipVertically ( ) : void

Method Details

CprFormat() public static method

public static CprFormat ( string format ) : bool
format string
return bool

ImageDataSize() public static method

public static ImageDataSize ( ImageSize imgsize, string format, float BytesPerPixel ) : long
imgsize ImageSize
format string
BytesPerPixel float
return long

ImageFile() protected method

protected ImageFile ( string fileName, ImageSize imgSize, string format ) : System
fileName string
imgSize ImageSize
format string
return System

ImageFile() protected method

protected ImageFile ( string fileName, byte data ) : System
fileName string
data byte
return System

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

flipVertically() protected method

protected flipVertically ( ) : void
return void

resize() public method

public resize ( ) : byte[]
return byte[]

subtype() public method

public subtype ( ) : string
return string

Property Details

fileName public_oe property

public string fileName
return string

format public_oe property

public string format
return string

headData public_oe property

public byte[] headData
return byte[]

imgData public_oe property

public byte[] imgData
return byte[]

imgSize public_oe property

public ImageSize,AmaroK86.ImageFormat imgSize
return ImageSize