PixelPerfectEngine.system.file

Undocumented in source.

Public Imports

dimage.base
public import dimage.base;

Members

Functions

loadBitmapFromFile
T loadBitmapFromFile(string filename)

Loads a bitmap from disk. Currently supported formats: *.tga, *.png, *.bmp

loadBitmapFromImage
T loadBitmapFromImage(Image img)

Loads a bitmap from Image.

loadBitmapSheetFromFile
T[] loadBitmapSheetFromFile(string filename, int x, int y)

Loads a bitmap sheet from file. This one doesn't require TGA devarea extensions.

loadBitmapSheetFromImage
T[] loadBitmapSheetFromImage(Image img, int x, int y)

Creates a bitmap sheet from an image file. This one doesn't require embedded data.

loadFileFromDisk
File loadFileFromDisk(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
loadImage
Image loadImage(F file)

Loads an Image from a File or VFile. Automatically detects format from file extension.

loadPaletteFromFile
Color[] loadPaletteFromFile(string filename)

Loads a palette from a file.

loadPaletteFromImage
Color[] loadPaletteFromImage(Image img)

Loads a palette from image.

loadSoundFromFile
Mix_Chunk* loadSoundFromFile(char* filename)

Loads a *.wav file if SDL2 mixer is used

Structs

RIFFHeader
struct RIFFHeader

Implements the RIFF serialization system

Meta