Function Image.convert

Converts the image's format. See format constants.

void convert (
  const(long) format
) nothrow @nogc;