v4.2.5: update release notes, fix silly typo in pageinfo.py

This commit is contained in:
James R. Barlow
2016-10-13 13:26:39 -07:00
parent 61b05b3dee
commit aff597cef4
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -4,6 +4,13 @@ RELEASE NOTES
OCRmyPDF uses `semantic versioning <http://semver.org/>`_.
v4.2.5:
=======
- Fixed an issue (#100) with PDFs that omit the optional /BitsPerComponent parameter on images
- Removed non-free file milk.pdf
v4.2.4:
=======
+1 -1
View File
@@ -211,7 +211,7 @@ def _find_page_inline_images(page, pageinfo, contentsinfo):
image['name'] = str('inline-%02d' % n)
image['width'] = inline.settings['/W']
image['height'] = inline.settings['/H']
if '/BPC' in inline.settings['/BPC']
if '/BPC' in inline.settings:
image['bpc'] = inline.settings['/BPC']
else:
image['bpc'] = 8