dplug.graphics.pngload

D translation of stb_image-1.33 (http://nothings.org/stb_image.c) This port only supports:

  • PNG 8-bit-per-channel only.

PNG loader

Members

Functions

stbi_load_png_from_memory
ubyte* stbi_load_png_from_memory(const(void)[] buffer, int width, int height, int components, int requestedComponents)

Loads an image from memory. Throws: STBImageException on error.

Meta