key (str) – The sample key that contains the array we are operating on.
w (int) – The width of the result.
h (int) – The height of the result.
output_key (str) – If it is not empty then write the result to this
key instead of overwriting key
. (default: ‘’)