Fixed[#2369](https://github.com/pymupdf/pymupdf/issues/2369) <https://github.com/pymupdf/PyMuPDF/issues/2369>_: Image extraction bugs with newer versions
Changes in version 1.22.1 (2023-04-18)
This release uses MuPDF-1.22.0.
Bug fixes:
Fixed[#2345](https://github.com/pymupdf/pymupdf/issues/2345) <https://github.com/pymupdf/PyMuPDF/issues/2345>_: Turn off print statements in utils.py
Fixed[#2348](https://github.com/pymupdf/pymupdf/issues/2348) <https://github.com/pymupdf/PyMuPDF/issues/2348>_: extract_image returns an extension "flate" instead of "png"
Fixed[#2350](https://github.com/pymupdf/pymupdf/issues/2350) <https://github.com/pymupdf/PyMuPDF/issues/2350>_: Can not make widget (checkbox) to read-only by adding flags PDF_FIELD_IS_READ_ONLY
Fixed[#2355](https://github.com/pymupdf/pymupdf/issues/2355) <https://github.com/pymupdf/PyMuPDF/issues/2355>_: 1.22.0 error when using get_toc (AttributeError: 'SwigPyObject' object has no attribute)
Changes in version 1.22.0 (2023-04-14)
This release uses MuPDF-1.22.0.
Behavioural changes:
Text extraction now includes glyphs that overlap with clip rect; previously
they were included only if they were entirely contained within the clip
rect.
Bug fixes:
Fixed[#1763](https://github.com/pymupdf/pymupdf/issues/1763) <https://github.com/pymupdf/PyMuPDF/issues/1763>_: Interactive(smartform) form PDF calculation not working in pymupdf
Fixed[#1995](https://github.com/pymupdf/pymupdf/issues/1995) <https://github.com/pymupdf/PyMuPDF/issues/1995>_: RuntimeError: image is too high for a long paged pdf file when trying
Fixed[#2093](https://github.com/pymupdf/pymupdf/issues/2093) <https://github.com/pymupdf/PyMuPDF/issues/2093>_: Image in pdf changes color after applying redactions
Fixed[#2108](https://github.com/pymupdf/pymupdf/issues/2108) <https://github.com/pymupdf/PyMuPDF/issues/2108>_: Redaction removing more text than expected
Fixed[#2141](https://github.com/pymupdf/pymupdf/issues/2141) <https://github.com/pymupdf/PyMuPDF/issues/2141>_: Failed to read JPX header when trying to get blocks
Fixed[#2144](https://github.com/pymupdf/pymupdf/issues/2144) <https://github.com/pymupdf/PyMuPDF/issues/2144>_: Replace image throws an error
Fixed[#2146](https://github.com/pymupdf/pymupdf/issues/2146) <https://github.com/pymupdf/PyMuPDF/issues/2146>_: Wrong Handling of Reference Count of "None" Object
Fixed[#2161](https://github.com/pymupdf/pymupdf/issues/2161) <https://github.com/pymupdf/PyMuPDF/issues/2161>_: Support adding images as pages directly
Fixed[#2168](https://github.com/pymupdf/pymupdf/issues/2168) <https://github.com/pymupdf/PyMuPDF/issues/2168>_: page.add_highlight_annot(start=pointa, stop=pointb) not working
Fixed[#2173](https://github.com/pymupdf/pymupdf/issues/2173) <https://github.com/pymupdf/PyMuPDF/issues/2173>_: Double free of Colorspace used in Pixmap
Fixed[#2179](https://github.com/pymupdf/pymupdf/issues/2179) <https://github.com/pymupdf/PyMuPDF/issues/2179>_: Incorrect documentation for pixmap.tint_with()
Fixed[#2208](https://github.com/pymupdf/pymupdf/issues/2208) <https://github.com/pymupdf/PyMuPDF/issues/2208>_: Pushbutton widget appears as check box
Fixed[#2210](https://github.com/pymupdf/pymupdf/issues/2210) <https://github.com/pymupdf/PyMuPDF/issues/2210>_: apply_redactions() move pdf text to right after redaction
... (truncated)
Commits
f26c4b5 Update version numners and dates for release 1.22.2.
3bd8714 fitz/fitz.i: fix #2369 - need to also handle FZ_IMAGE_FAX.
e6da78c tests/test_pixmap.py: added test_2369() for #2369.
1394092 setup.py: Control whether to link with mupdf-third on Linux builds with syste...
d8046a0 setup.py: added control over whether to overwrite MuPDF's config.h.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pymupdf from 1.21.1 to 1.22.2.
Release notes
Sourced from pymupdf's releases.
... (truncated)
Changelog
Sourced from pymupdf's changelog.
... (truncated)
Commits
f26c4b5
Update version numners and dates for release 1.22.2.3bd8714
fitz/fitz.i: fix #2369 - need to also handle FZ_IMAGE_FAX.e6da78c
tests/test_pixmap.py: added test_2369() for #2369.1394092
setup.py: Control whether to link with mupdf-third on Linux builds with syste...d8046a0
setup.py: added control over whether to overwrite MuPDF's config.h.e7831f3
Update recipes-images.rst858d023
Update version numbers and dates for release.2a56ba4
Fixing #23453bae451
Fixing #23485877f59
Fixing #2350Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)