pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
loadBitmapFromFile
pixelperfectengine
system
file
Loads a bitmap from disk. Currently supported formats: *.tga, *.png, *.bmp
T
loadBitmapFromFile
(
T
)
(
string
filename
)
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 disk. Currently supported formats: *.tga, *.png, *.bmp