loadImage

load and decode image from file to ColorDrawBuf, returns null if loading or decoding is failed

  1. ColorDrawBuf loadImage(string filename)
    static if(BACKEND_GUI)
    loadImage
    (
    string filename
    )
  2. ColorDrawBuf loadImage(ubyte[] data, string filename)

Meta