Image Resizing

Added code to resize larger images to a target dpi to reduce output
file size.