pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
loadBitmapFromImage
pixelperfectengine
system
file
Loads a bitmap from Image.
@
trusted
T
loadBitmapFromImage
(
T
)
(
Image
img
)
if
(
is
(
T
==
Bitmap1Bit
) ||
is
(
T
==
Bitmap2Bit
)
||
is
(
T
==
Bitmap4Bit
)
||
is
(
T
==
Bitmap8Bit
)
||
is
(
T
==
Bitmap16Bit
)
||
is
(
T
==
Bitmap32Bit
)
)
Meta
Source
See Implementation
pixelperfectengine
system
file
functions
getPathToAsset
getPathToLocalizationFile
loadBitmapFromFile
loadBitmapFromImage
loadBitmapSheetFromFile
loadBitmapSheetFromImage
loadBitmapSliceFromImage
loadImage
loadPaletteFromFile
loadPaletteFromImage
padScanLine
structs
RIFFHeader
variables
pathRoot
Loads a bitmap from Image.