James R. Barlow
d855f63985
Remove single dispatch version of calculate_downsample
2023-09-23 15:05:04 -07:00
James R. Barlow
d4863cbf0f
helpers: fix typing
2023-09-23 14:59:11 -07:00
James R. Barlow
7b8f081fbf
Enable pikepdf mmap again
2023-09-23 14:50:56 -07:00
James R. Barlow
7d33039bcd
Add comment re: reportlab shim
2023-09-21 00:27:45 -07:00
James R. Barlow
fde886baf4
Revert "Drop reportlab warning shim"
...
This reverts commit 162a47f98e .
2023-09-21 00:26:50 -07:00
James R. Barlow
146da79c00
Regenerate test cache
2023-09-21 00:24:55 -07:00
James R. Barlow
2fc3b0d973
Move issue*.pdf into separate folder
2023-09-21 00:19:13 -07:00
James R. Barlow
5667424530
Lower pngquant version req
2023-09-21 00:13:03 -07:00
James R. Barlow
8add531ffd
Drop Ubuntu 20.04 from build matrix
2023-09-21 00:12:07 -07:00
James R. Barlow
0388c23ae7
Merge branch 'feature/jbig2thresh' into v15
2023-09-21 00:07:05 -07:00
James R. Barlow
9b77daae7c
Merge branch 'feature/snap22' into v15
2023-09-21 00:06:14 -07:00
James R. Barlow
3e1b3ec98d
Merge branch 'feature/fix-raster-dpi-too-high' into v15
2023-09-21 00:05:56 -07:00
James R. Barlow
0f0ca6f517
Draft v15 release notes
2023-09-21 00:05:39 -07:00
James R. Barlow
c93349c350
Convert workflow to trusted PyPI publisher
2023-09-21 00:05:39 -07:00
James R. Barlow
0c287929c2
Don't use really old Python for deliverable building
2023-09-21 00:05:39 -07:00
James R. Barlow
23a37fc35c
Document that Ubuntu 22.04 and 20.04 both use Tesseract 4.1.1
2023-09-21 00:05:39 -07:00
James R. Barlow
162a47f98e
Drop reportlab warning shim
2023-09-21 00:05:39 -07:00
James R. Barlow
0239f69912
Tigthen Python dependencies
2023-09-21 00:05:39 -07:00
James R. Barlow
2ad8961d0b
Require pngquant 2.13.1 or newer
2023-09-21 00:05:39 -07:00
James R. Barlow
eec8a2b574
Change minimum Ghostscript version to 9.55
2023-09-21 00:05:39 -07:00
James R. Barlow
6c78076bea
Drop support for gswin32c / 32-bit Ghostscript for Windows
2023-09-21 00:05:39 -07:00
James R. Barlow
2637e84691
Complain about all 32-bit interpreters, not just windows
2023-09-21 00:05:39 -07:00
James R. Barlow
e8c82ee4b6
Remove shim for img2pdf < 0.4.4
2023-09-21 00:05:39 -07:00
James R. Barlow
de2bb5ce8c
Remove tqdm dependency and TqdmConsole
...
Might be too aggressive? No deprecation warning....
2023-09-21 00:05:39 -07:00
James R. Barlow
ec1c377532
Drop Python 3.8 too
...
(cherry picked from commit a8cdc5a191bdf1fe401e96c2dc9a5fba39b90d79)
2023-09-21 00:05:39 -07:00
James R. Barlow
173428e81a
Added weighted DPI rendering
...
To address #1010 and other issues.
2023-09-21 00:04:50 -07:00
James R. Barlow
67ed29dcea
Fix incorrect printed_area calculation
2023-09-21 00:02:02 -07:00
James R. Barlow
3454c050ed
Introduce Resolution.take_min
2023-09-21 00:01:42 -07:00
James R. Barlow
5ee99b26e7
Update snap to use core22
2023-09-20 17:01:36 -07:00
James R. Barlow
ac3aa67d8a
Revise to PageResolutionProfile
2023-09-20 16:58:59 -07:00
James R. Barlow
1768a1eda9
Improve documentation for large image downsampling
2023-09-20 16:58:59 -07:00
James R. Barlow
5902fe45c1
Rename Resolution.mean to to_scalar
2023-09-20 16:58:59 -07:00
James R. Barlow
78981641f0
Introduce new functions to calculate DPI exceptions
2023-09-20 16:58:59 -07:00
James R. Barlow
c77ae4b34c
Change hookspec to migration parameters for generate_pdf to options object
...
Breaking change for PDF rendering plugins (although none are known to exist).
This provides better separation of Ghostscript specific concerns from
the generic plugin interface.
2023-09-20 15:40:18 -07:00
James R. Barlow
b2cbbf0099
Migrate --pdfa-image-compression argument to being managed by Ghostscript plugin
2023-09-20 15:20:42 -07:00
James R. Barlow
6b6c34af01
Fix test artifact generated incorrectly
...
Test still passed either way
2023-09-20 15:20:13 -07:00
James R. Barlow
be12f7a728
Make fish completion a bit smarter
2023-09-20 14:45:22 -07:00
James R. Barlow
e3c813fc67
Added support for changing color conversion strategy
2023-09-20 01:08:15 -07:00
35a1eaf62a
Bump docker/setup-qemu-action from 2 to 3 ( #1151 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 12:06:38 -07:00
d393d18c13
Bump docker/login-action from 2 to 3 ( #1152 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 12:06:30 -07:00
54e622ad10
Bump docker/setup-buildx-action from 2 to 3 ( #1153 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 12:06:19 -07:00
James R. Barlow
330352aeed
Update completions for jbig2 threshold
2023-09-17 14:47:46 -07:00
James R. Barlow
ac2fc49208
Add support for adjusting jbig2 threshold
2023-09-17 14:44:40 -07:00
Srikar Sundaram and GitHub
4bee7355e9
Change skip-ocr to skip-text ( #1146 )
2023-09-14 17:22:34 -07:00
dependabot[bot] and GitHub
86f2b1f9a7
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 10:37:22 +00:00
James R. Barlow
3002409e49
Remove older installation caveats
2023-08-22 01:25:57 -07:00
James R. Barlow
0cf6828c20
Merge branch 'main' of github.com:ocrmypdf/OCRmyPDF
2023-08-19 13:05:06 -07:00
James R. Barlow
331c829b6e
docs: remove obsolete reference to setuptools-scm-git-archive
2023-08-19 13:03:31 -07:00
James R. Barlow
06a5e0c3f6
docs: various updates
2023-08-14 00:13:17 -07:00
811f23381a
Add installation instructions for Gentoo Linux to README.md ( #1134 )
...
* Add installation instructions for Gentoo Linux to README.md
* Correct installation instructions for macOS (nix) in README.md
* Move installation instructions for Gentoo Linux from README.md to docs/installation.rst
---------
Co-authored-by: Fonic <5cx5jbnmt@mozmail.com >
2023-08-13 01:21:14 -07:00