James R. Barlow
bbd02926e1
Add helpful error message for PDFs that use algorithm 4
2016-06-23 13:13:17 -07:00
jbarlow83
5022ded276
Update Windows directions
2016-06-16 15:15:46 -07:00
James R. Barlow
c7612152ef
leptonica: pillow interop
2016-06-06 23:55:23 -07:00
James R. Barlow
af91642cd1
lept: fix __getstate/__setstate
2016-06-06 23:55:23 -07:00
James R. Barlow
9c66334c38
Leptonica - ortho rotate, background norm
2016-06-06 23:55:23 -07:00
James R. Barlow
8d79b94b84
cpix -> _pix
2016-06-06 23:55:23 -07:00
James R. Barlow
d7f60b96c1
More leptonica functions for page manipulation
2016-06-06 23:55:23 -07:00
James R. Barlow
b964999427
Update filename references from sRGB_IEC to sRGB
v4.1.2
2016-05-10 21:58:04 -07:00
James R. Barlow
3473345ea6
Replace sRGB_IEC with MIT license compatible sRGB
...
New file is from Debian package icc-profiles-free
v4.1.1
2016-05-10 21:48:32 -07:00
James R. Barlow
349ec5c81f
Provide more helpful error message if pypdf can't merge pages
2016-04-28 14:02:12 -07:00
James R. Barlow
ff78d7c56c
v4.1 release notes
v4.1
v4.1rc1
2016-04-28 00:46:16 -07:00
James R. Barlow
ff092c8629
Fix race condition between these tests when run in parallel
2016-04-28 00:39:15 -07:00
James R. Barlow
fe14cb57c0
Fix ruffus exception output
...
I found this issue in ruffus 2.6.3
https://github.com/bunbun/ruffus/issues/65
also discussed here
https://github.com/bunbun/ruffus/pull/67
ruffus 2.6.3 RethrownJobError don't follow the normal conventions and
so its exception causes problems when they cross process boundaries.
This change carefully examines the various forms of ruffus exception
objects that can appear in 2.6.3 and parses them more carefully. It
also removes any direct posting of the exception to the logger because
this triggers another serializing of the exception object, mutating it
further.
2016-04-28 00:38:50 -07:00
James R. Barlow
507fbc01d5
Refactor _find_page_images
2016-04-27 13:13:43 -07:00
James R. Barlow
325479e5be
Fix test failure: inline images with multiple image filters specified
2016-04-27 13:09:41 -07:00
James R. Barlow
e926ecb8b2
Fuzzing: check for graphics stack overflow
...
Very unlikely to occur
2016-04-18 13:08:35 -07:00
James R. Barlow
d0cb6c0e92
Replace private hypotenuse formula with hypot()
2016-04-18 13:07:53 -07:00
James R. Barlow
5b7c8cf5d3
Remove check for /ImageMask
...
/ImageMask means the the image is a stencil mask for a grayscale or
color image. From issue #63 a user has a PDF apparently with only a
stencil mask and no other images. According to PDF spec you're supposed
to use masks to help draw other images rather than draw masks
explicitly, although drawing masks is not forbidden.
In the event that the image mask is higher resolution than the input
image, the composite image should be drawn at the highest DPI to a
ccurately capture the effect of the mask. It looks like the right to
do is take masks into account rather than ignore them (a holdover
from earlier, less robust versions), or don't treat it different.
2016-04-14 14:24:33 -07:00
James R. Barlow
40baab32ac
Remove dead code "import stuff in testcase"
2016-04-14 14:22:34 -07:00
James R. Barlow
e877d37ac8
--rotate-pages: Only apply rotation if we're reasonable confident
...
Take the threshold from tesseract's default value for -psm 1.
2016-04-14 13:49:44 -07:00
James R. Barlow
5a9f77e438
Merge commit '1605408c23fa1b9252c5d3f10f279b43733b0728' into develop
2016-04-14 13:07:10 -07:00
James R. Barlow
8ddd67d1e2
Check encoding of inline images
2016-03-24 15:11:10 -07:00
jbarlow83
1605408c23
README: add libffi-dev
2016-03-22 23:39:02 -07:00
James R. Barlow
2d3b1ebf6e
Simplify DPI calculation with algebraic derivation
...
Needs testing
2016-03-20 12:35:41 -07:00
James R. Barlow
c74eaab7f5
Update license: sRGB ICC
2016-03-20 12:34:34 -07:00
James R. Barlow
c21d231388
Merge commit 'a73afc4e769202b916d35dee481d741cf6bb7224'
2016-03-20 12:33:15 -07:00
jbarlow83
a73afc4e76
Merge pull request #59 from spwhitton/apt-get
...
README: Debian and Ubuntu installation option
2016-03-14 00:19:59 -07:00
Sean Whitton
76c364150d
README: Debian and Ubuntu installation option
2016-03-13 23:15:00 -07:00
James R. Barlow
94a3e447cc
Add otsu threshold to leptonica
2016-03-12 00:09:20 -08:00
James R. Barlow
12868b461a
Travis: install unpaper.deb instead of compiling from source
2016-03-11 21:16:01 -08:00
James R. Barlow
322085933b
unpaper: fix check for missing and old versions, add test case
2016-03-10 15:37:09 -08:00
James R. Barlow
3fed94bb79
v4.0.7
v4.0.7
2016-03-02 06:27:01 -08:00
James R. Barlow
8c877482bd
Fix leptonica initializers
2016-03-02 06:26:25 -08:00
James R. Barlow
b17d589e84
Don't set -sOutputICCProfile
...
Ghostscript dev advised against. It appears that this is for
creating target for a device that colors in a particular format.
2016-03-02 06:25:34 -08:00
James R. Barlow
368252a243
setuptools_scm_git_archive seems suddenly broken
v4.0.6
2016-03-01 02:09:45 -08:00
James R. Barlow
ccefda1bee
v4.0.6 notes
2016-03-01 01:58:32 -08:00
James R. Barlow
3d0e8c9629
Provide our own sRGB profile instead of Ghostscript's
2016-03-01 01:27:40 -08:00
James R. Barlow
313bbbb94c
setup_scm_git_archive: add additional files
2016-02-29 12:46:27 -08:00
James R. Barlow
0360f078de
get_postscript_icc_path: don't check the same path multiple times
2016-02-29 12:45:58 -08:00
James R. Barlow
c8901666c4
Merge branch 'master' of https://github.com/jbarlow83/OCRmyPDF
2016-02-29 00:06:07 -08:00
James R. Barlow
7430006596
Improve install instructions for OS X (unpaper)
2016-02-29 00:05:31 -08:00
James R. Barlow
f3e06b2dbd
Add bookmarks to file for more testing
2016-02-29 00:05:07 -08:00
jbarlow83
e97df307ff
Merge pull request #54 from stweil/master
...
Replace broken link to c't article by permalink
2016-02-28 07:18:40 -08:00
Stefan Weil
1443354aa2
Replace broken link to c't article by permalink
...
Update also the 2nd article link to use a permalink, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-02-28 13:57:42 +01:00
James R. Barlow
250e68c1cd
v4.0.5 release notes
v4.0.5
2016-02-27 01:01:38 -08:00
James R. Barlow
6a380ee99c
Fix temporary file placed in wrong folder
2016-02-27 00:51:47 -08:00
James R. Barlow
3c90bd96a9
Remove extraneous debug print() messages
2016-02-27 00:50:58 -08:00
James R. Barlow
06a7ceb25a
v4.0.4 Updates release notes
v4.0.4
2016-02-27 00:22:37 -08:00
James R. Barlow
733a8e7d58
Merge branch 'feature/parsecontent'
2016-02-27 00:19:19 -08:00
James R. Barlow
570bbe9a05
Add comments and remove debugging, improve inline handling
...
Squashed commits:
[bfff3c9] pageinfo, have a main()
2016-02-27 00:18:36 -08:00