add rotatemap and move images processing below pdf