convertImageRefToPNG

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

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

Meta