added image rotation when using JAI