def create_logo(self, absolute_path): image = Image(absolute_path) image._restrictSize(2.5 * inch, 2.5 * inch) return image