pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
loadBitmapFromImage
PixelPerfectEngine
system
file
Loads a bitmap from Image.
@
trusted
T
loadBitmapFromImage
(
T
)
(
Image
img
)
if
(
is
(
T
==
Bitmap4Bit
) ||
is
(
T
==
Bitmap8Bit
)
||
is
(
T
==
Bitmap16Bit
)
||
is
(
T
==
Bitmap32Bit
)
)
Meta
Source
See Implementation
PixelPerfectEngine
system
file
functions
loadBitmapFromFile
loadBitmapFromImage
loadBitmapSheetFromFile
loadBitmapSheetFromImage
loadFileFromDisk
loadImage
loadPaletteFromFile
loadPaletteFromImage
loadSoundFromFile
structs
RIFFHeader
Loads a bitmap from Image.