Update: PDF is saved, Fixing image dimensions.