loadImage - multiple declarations

Function loadImage

Load and decode image from file to Bitmap, returns empty bitmap if loading or decoding failed

Bitmap loadImage (
  string filename
);

Function loadImage

Decode image from the byte array to Bitmap, returns empty bitmap if decoding failed

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