chickadee » imlib2 » image-orientate!

image-orientate img orientationprocedure
image-orientate! img orientationprocedure

Orientate img. According to imlib2 documentation, this procedure rotates the image by 90 degrees orientation times. However, the procedure accepts values between 0 and 7, inclusive. What values 4-7 do, I'm not really sure of. They appear to rotate the image (mod orientation 3) times 90 degrees, but flip it as well.