diff --git a/pdfminer/pdfpage.py b/pdfminer/pdfpage.py index 13bbb14d..68883a54 100644 --- a/pdfminer/pdfpage.py +++ b/pdfminer/pdfpage.py @@ -60,7 +60,8 @@ def __init__( self.resources: Dict[object, object] = resolve1( self.attrs.get("Resources", dict()) ) - self.mediabox: Rect = resolve1(self.attrs["MediaBox"]) + self.mediabox= [resolve1(mediabox_param) for mediabox_param in self.attrs['MediaBox']] + self.mediabox: Rect = resolve1(self.mediabox) if "CropBox" in self.attrs: self.cropbox: Rect = resolve1(self.attrs["CropBox"]) else: