From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Convert your image to a matrix. Construct a rotation matrix of the same dimensions as your image (assuming your image is square). Insert 1/cos(theta) as your rotation angle. Multiply them together and your done.