diff --git a/product/ERP5/Document/PDFDocument.py b/product/ERP5/Document/PDFDocument.py index 22736f1576485937744d63001a8182db25096bc5..450ca2e3f3dc1b8434b5296f8c22c1b6657d3fe6 100644 --- a/product/ERP5/Document/PDFDocument.py +++ b/product/ERP5/Document/PDFDocument.py @@ -141,7 +141,7 @@ class PDFDocument(Image): content_information = self.getContentInformation() page_count = int(content_information.get('Pages', 0)) for page_number in range(page_count): - src_mimetype, png_data = self.convert( + src_mimetype, png_data = self._convert( 'png', quality=100, resolution=300, frame=page_number, display='identical') if not src_mimetype.endswith('png'):