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