From ce287c3861190fe2230fdb70ef5d84c260de6644 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Mon, 15 Jan 2024 10:27:12 +0000 Subject: [PATCH] src/__init__.py: fix TextPage.extractIMGINFO()'s dictkey_yres value. [Same error is in classic, but this only fixes the rebased implementation.] --- src/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__init__.py b/src/__init__.py index bcc741c65..4fc5d6ba1 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -12524,7 +12524,7 @@ def extractIMGINFO(self, hashes=0): block_dict[ dictkey_colorspace] = mupdf.fz_colorspace_n(cs) block_dict[ dictkey_cs_name] = mupdf.fz_colorspace_name(cs) block_dict[ dictkey_xres] = img.xres() - block_dict[ dictkey_yres] = img.xres() # fixme: shouldn't this be img.yres()? + block_dict[ dictkey_yres] = img.yres() block_dict[ dictkey_bpc] = img.bpc() block_dict[ dictkey_size] = mupdf.fz_image_size(img) if hashes: