Images with coordinates that are out of bounds of the pdf page produce
warnings now instead of runtime exceptions.
Detects and adapts rotation from landscape to portrait.