Use imageOrientation
import korlibs.image.format.ImageOrientation
imageOrientation == ImageOrientation.ROTATE_90