loadImage

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

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

Meta