I wrote a python application that converts images to PDF\'s using PIL. The method below takes all images in a given directory, converts them to RGB, then is supposed to save