dplug.graphics.stb_image_write

stb_image_write.h translations Just the PNG encoder.

Members

Functions

convertImageRefToPNG
ubyte[] convertImageRefToPNG(ImageRef!RGBA image)

Create a PNG image from an ImageRef!RGBA. The data has to be freed with free() or freeSlice.

convertImageRefToPNG
ubyte[] convertImageRefToPNG(ImageRef!L8 image)

Create a PNG image from an ImageRef!L8. The data has to be freed with free() or freeSlice.

Meta