C# Class FlatRedBall.IO.BmpLoader

Class responsible for creating ImageDatas from BMP files.
Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
GetPixelData ( string fileName ) : ImageData

ImageData takes a fileName (string) and loads the BMP from the file.

Private Methods

Méthode Description
BuildPixels ( Color &pixels, Stream &file, uint bitCount, int pixelWidth, int pixelHeight ) : void
CheckSignature ( Stream &file ) : bool
FormUint2 ( byte bytes ) : uint
FormUint4 ( byte bytes ) : uint
LoadFile ( string fileName ) : byte[]
ParseBytes ( Stream &file, BMPHeader &bmpHeader ) : void
ReadFile ( Stream stream ) : byte[]

Method Details

GetPixelData() public static méthode

ImageData takes a fileName (string) and loads the BMP from the file.
public static GetPixelData ( string fileName ) : ImageData
fileName string
Résultat FlatRedBall.Graphics.Texture.ImageData