From 7b92620a104d5ff5f72c2a1755466eab5bc05843 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Mon, 26 Aug 2024 10:45:53 +0200 Subject: [PATCH] processor: no more DPI info lost Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> --- qurator/eynollah/processor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qurator/eynollah/processor.py b/qurator/eynollah/processor.py index 2a383d8..01dd797 100644 --- a/qurator/eynollah/processor.py +++ b/qurator/eynollah/processor.py @@ -27,7 +27,6 @@ class EynollahProcessor(Processor): # else: # # could be a URL with file:// or truly remote # image_filename = self.workspace.download_file(next(self.workspace.mets.find_files(url=page.imageFilename))).local_filename - # XXX loses DPI information page_image, _, _ = self.workspace.image_from_page( page, page_id, # avoid any features that would change the coordinate system: cropped,deskewed