Skip to content

Commit

Permalink
src/__init__.py: fix TextPage.extractIMGINFO()'s dictkey_yres value.
Browse files Browse the repository at this point in the history
[Same error is in classic, but this only fixes the rebased implementation.]
  • Loading branch information
julian-smith-artifex-com committed Jan 15, 2024
1 parent c781230 commit ce287c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ce287c3

Please sign in to comment.