[NTG-context] Rotating and scaling images to fit a page