From ca58f85642598dc15e286074982e7cedae9a1355 Mon Sep 17 00:00:00 2001 From: Julius Unverfehrt Date: Tue, 16 Aug 2022 16:16:10 +0200 Subject: [PATCH] update pdf2image-service --- image_prediction/formatter/formatter.py | 6 +++--- incl/pdf2image | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/image_prediction/formatter/formatter.py b/image_prediction/formatter/formatter.py index fdf45d1..53306a9 100644 --- a/image_prediction/formatter/formatter.py +++ b/image_prediction/formatter/formatter.py @@ -21,9 +21,9 @@ class Formatter(Transformer): def format_image_plus(image: ImagePlus) -> ImageMetadataPair: enum_metadata = { - Info.PAGE_WIDTH: image.info.pageInfo.pageWidth, - Info.PAGE_HEIGHT: image.info.pageInfo.pageHeight, - Info.PAGE_IDX: image.info.pageInfo.pageNumber, + Info.PAGE_WIDTH: image.info.pageInfo.width, + Info.PAGE_HEIGHT: image.info.pageInfo.height, + Info.PAGE_IDX: image.info.pageInfo.number, Info.ALPHA: image.info.alpha, Info.WIDTH: image.info.boundingBox.width, Info.HEIGHT: image.info.boundingBox.height, diff --git a/incl/pdf2image b/incl/pdf2image index fee8796..4753c00 160000 --- a/incl/pdf2image +++ b/incl/pdf2image @@ -1 +1 @@ -Subproject commit fee87964cb7da0ea0c19410ca418849744474302 +Subproject commit 4753c005ee926b09238977d524542f12ec4c4847