C# Class HyoutaTools.LastRanker.PTMD

Show file Open project: AdmiralCurtiss/HyoutaTools Class Usage Examples

Public Properties

Property Type Description
BitPerPixel uint
BitPerPixelByte byte
Greyscale bool
ImageBytes byte[]
ImageTypeByte byte
ImageWidth uint
Magic uint
PaletteBytes byte[]
PalettePointer uint
Paletted bool
Uint0x04 uint

Public Methods

Method Description
PTMD ( ) : System
PTMD ( String filename ) : System
PTMD ( byte Bytes ) : System
PtmdToPng ( List args ) : int
SaveAsPNG ( string Path ) : void

Private Methods

Method Description
LoadFile ( byte File ) : bool

Method Details

PTMD() public method

public PTMD ( ) : System
return System

PTMD() public method

public PTMD ( String filename ) : System
filename String
return System

PTMD() public method

public PTMD ( byte Bytes ) : System
Bytes byte
return System

PtmdToPng() public static method

public static PtmdToPng ( List args ) : int
args List
return int

SaveAsPNG() public method

public SaveAsPNG ( string Path ) : void
Path string
return void

Property Details

BitPerPixel public property

public uint BitPerPixel
return uint

BitPerPixelByte public property

public byte BitPerPixelByte
return byte

Greyscale public property

public bool Greyscale
return bool

ImageBytes public property

public byte[] ImageBytes
return byte[]

ImageTypeByte public property

public byte ImageTypeByte
return byte

ImageWidth public property

public uint ImageWidth
return uint

Magic public property

public uint Magic
return uint

PaletteBytes public property

public byte[] PaletteBytes
return byte[]

PalettePointer public property

public uint PalettePointer
return uint

Paletted public property

public bool Paletted
return bool

Uint0x04 public property

public uint Uint0x04
return uint