loadImage - multiple declarations

Function loadImage

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

ColorDrawBuf loadImage(
  string filename
);

Function loadImage

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

ColorDrawBuf loadImage(
  immutable(ubyte[]) data,
  string filename
);