rotatePixels

open fun rotatePixels(input: Array<Byte>, width: Int, height: Int, rotation: Int): Array<Byte>