processor: no more DPI info lost

Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
pull/134/head
Konstantin Baierer 4 months ago committed by GitHub
parent d26079db85
commit 7b92620a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -27,7 +27,6 @@ class EynollahProcessor(Processor):
# else: # else:
# # could be a URL with file:// or truly remote # # 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 # 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_image, _, _ = self.workspace.image_from_page(
page, page_id, page, page_id,
# avoid any features that would change the coordinate system: cropped,deskewed # avoid any features that would change the coordinate system: cropped,deskewed

Loading…
Cancel
Save