Function Image.resizeToPo2
Resizes the image to the nearest power of 2 for the width and height. If square
is true
then set width and height to be the same.
void resizeToPo2
(
const(bool) square = false
) nothrow @nogc;