Function Image.loadPngFromBuffer

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

godot.core.defs.GodotError loadPngFromBuffer (
  const(PoolArray!(ubyte)) buffer
) nothrow @nogc;