Resize images to reduce size of .pdf