James R. Barlow
a650caa599
optimize: don't consider 1bpp images for PNG optimization
2019-09-03 23:47:20 -07:00
James R. Barlow
c6caff90a1
optimize: only re-insert pngs after pngquant
...
Previously we attempted to reinsert all PNGs, but it appears to be
unlikely that Leptonica's API is actually capable of optimizing the PNG
before it inserts it.
In any event qpdf has gained image optimization capabilities as well
which we coudld borrow.
2019-09-03 23:46:25 -07:00
James R. Barlow
671c88d3b5
optimize: exclude images with custom Decode tables
2019-09-03 23:37:23 -07:00
James R. Barlow
b2cfaedf91
optimize: Don't reinsert 1bpp images
...
There seems to be version to version inconsistencies between
Leptonica's photometric interpretation of 1bpp images, in
particular commit a0692307 introduces a change to force transcoding
in this situation.
However, I never entirely got to the bottom of where the problem
is, and in any event 1bpp images are probably better optimized
by JBIG2 than pngquant, so we're going to stop running them through
pngquant.
2019-09-03 23:26:13 -07:00
James R. Barlow
19ba3ae011
Allow test_german to xfail if deu language is not installed
2019-09-03 17:38:54 -07:00
James R. Barlow
feff1e38bb
Use context managers to ensure Pillow images are closed
2019-09-03 17:19:12 -07:00
James R. Barlow
c8d6ea6b10
Fix tests broken by --print-parameters change
2019-09-03 17:17:24 -07:00
James R. Barlow
b0d9775343
Attempt to resolve black-inversion issue
2019-08-31 01:25:36 -07:00
James R. Barlow
462bfb84fb
install: affirm that we now require Tesseract beta
2019-08-31 01:24:31 -07:00
James R. Barlow
11ef78a891
Fix running without eng.traineddata installed raises exception
2019-08-27 14:54:03 -07:00
James R. Barlow
638eb556ef
Reactivate user-words test that was always skipped
2019-08-27 14:52:59 -07:00
James R. Barlow
fdefcd8af2
travis: Make 3.7 the build leader/deployer
2019-08-26 13:30:07 -07:00
James R. Barlow
09457edad3
alpine: use jbig2enc@community
2019-08-26 12:49:47 -07:00
James R. Barlow
6460a7eb3e
docs: leptonica.com -> .org
2019-08-26 12:07:34 -07:00
James R. Barlow
707ebeb151
docs: installation updates
2019-08-11 18:48:56 -07:00
James R. Barlow
e9bc093842
v9.0.1 release notes
v9.0.1
2019-08-11 17:14:11 -07:00
James R. Barlow
2eeaca1168
travis: make minimal config even more minimal
2019-08-11 17:13:55 -07:00
James R. Barlow
7755c5c5a7
tests: fix interpretation of None as omitted argument
2019-08-11 16:58:22 -07:00
James R. Barlow
793348a47c
tests: mark test as requiring pngquant
2019-08-11 16:58:22 -07:00
James R. Barlow
b241f66919
travis: Add a minimal Ubuntu config
2019-08-11 16:58:06 -07:00
James R. Barlow
8ad034a678
docs: update install on FreeBSD to point to ports
2019-08-11 15:50:52 -07:00
James R. Barlow
a1a7b973e9
tests: split out stdin/stdout tests
2019-08-09 01:23:49 -07:00
James R. Barlow
7bfcd0a9d5
Use pikepdf 1.6.1
2019-08-09 01:12:13 -07:00
James R. Barlow
f276c4ef1e
Alpine Docker: jbig2enc moved from testing to community
2019-08-09 01:09:18 -07:00
James R. Barlow
77bbc22c50
Ensure --image-dpi on non-image produces a warning
2019-08-09 01:08:16 -07:00
James R. Barlow
a6805ed343
Travis: remove vestiges of pdfminer being optional on osx
2019-07-30 00:42:38 -07:00
James R. Barlow
c4afc5c242
Add missing item from v9.0.0 release notes
2019-07-30 00:39:14 -07:00
James R. Barlow
df32008667
Ensure test_optimize passes
...
Linearization sends it over the edge
v9.0.0
2019-07-27 16:47:53 -07:00
James R. Barlow
db4598f76a
Add PDF linearization
2019-07-27 16:15:48 -07:00
James R. Barlow
ce13431ecf
Remove experimental filters.py
2019-07-27 15:47:09 -07:00
James R. Barlow
eb104b405d
Avoid circular imports for __version__
2019-07-27 05:02:19 -07:00
James R. Barlow
5f00e4f9d8
Sort imports
2019-07-27 04:51:52 -07:00
James R. Barlow
1a91cd4652
pikepdf 1.6
2019-07-27 04:36:48 -07:00
James R. Barlow
b0f1a55537
completions: --pages
2019-07-27 04:26:38 -07:00
James R. Barlow
0c066d1d53
Expand scope of --pages testing
2019-07-27 04:26:23 -07:00
James R. Barlow
e4cfcec5f3
docs: some cleanup
2019-07-27 04:04:33 -07:00
James R. Barlow
85c90404d7
Update release notes
2019-07-27 03:23:56 -07:00
James R. Barlow
4d011c28ea
Improve completions
2019-07-27 03:02:04 -07:00
James R. Barlow
5304c631ec
Don't warn about --user-words in Tesseract 4.1 or later
2019-07-27 02:14:59 -07:00
James R. Barlow
6fbeb6347d
Merge api (without plugins)
2019-07-27 02:04:01 -07:00
James R. Barlow
f83de20c37
Remove plugins (for now)
...
It's holding up too many other useful,
releaseable changes.
2019-07-27 01:41:14 -07:00
James R. Barlow
423324af01
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2019-07-15 12:08:59 -07:00
James R. Barlow
016a2a01d9
docs: Notes on WSL
2019-07-13 02:06:11 -07:00
James R. Barlow
6189910c74
Fix text-image registration when mediabox contains an offset
...
Cropbox, trimbox not addressed... should look at those. Also rotation.
2019-07-11 02:20:04 -07:00
James R. Barlow
7117dc10de
Suppress noisy empty debug messages
2019-07-11 01:23:01 -07:00
jbarlow83
b601cb0cba
Fix funding.yml
2019-07-11 00:36:09 -07:00
jbarlow83
0c781faf89
Create funding.yml
...
[ci skip]
2019-07-11 00:35:39 -07:00
James R. Barlow
12769b96e5
Drop support for omitting pdfminer.six
v8.3.2
2019-07-10 13:37:01 -07:00
James R. Barlow
a7b4ed9688
Double vertical bars for logo
2019-07-08 22:20:23 -07:00
James R. Barlow
ee92ce8717
gitattributes: ensure afdesign is okay
2019-07-08 22:16:47 -07:00