LoadImageRaw method
Implementation
ImageD LoadImageRaw(
String fileName,
num width,
num height,
PixelFormat format,
num headerSize,
) => run(
() => 'LoadImageRaw($fileName, $width, $height, ${format.name}, $headerSize)',
() => rl.Temp.Image$.RefCapture(
'LoadImageRaw_${fileName}_${width}_${height}_${format.name}',
rl.Core.LoadImageRaw(
rl.Temp.String$.ValueOrNull(fileName),
width.toInt(),
height.toInt(),
format.value,
headerSize.toInt(),
),
),
);