Click or drag to resize

ImageLoadBmpFromBuffer Method

Loads an image from the binary contents of a BMP file.

Note: Godot's BMP module doesn't support 16-bit per pixel images. Only 1-bit, 4-bit, 8-bit, 24-bit, and 32-bit per pixel images are supported.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error LoadBmpFromBuffer(
	byte[] buffer
)

Parameters

buffer
Type: SystemByte

[Missing <param name="buffer"/> documentation for "M:Godot.Image.LoadBmpFromBuffer(System.Byte[])"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.Image.LoadBmpFromBuffer(System.Byte[])"]

See Also