C# Класс FlatRedBall.IO.BmpLoader

Class responsible for creating ImageDatas from BMP files.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetPixelData ( string fileName ) : ImageData

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

Приватные методы

Метод Описание
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[]

Описание методов

GetPixelData() публичный статический Метод

ImageData takes a fileName (string) and loads the BMP from the file.
public static GetPixelData ( string fileName ) : ImageData
fileName string
Результат FlatRedBall.Graphics.Texture.ImageData