reduce max-height of images in pdfs