convertImageRefToPNG

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

  1. ubyte[] convertImageRefToPNG(ImageRef!RGBA image)
    nothrow @nogc
    ubyte[]
    convertImageRefToPNG
  2. ubyte[] convertImageRefToPNG(ImageRef!L8 image)

Meta