pdfbeads on Ubuntu 18.10
Posted: 09 Feb 2019, 07:05
Another version of Ubuntu, another breakage in PDFbeads and dependencies.
Has anyone seen an issue like this in post-processing ScanTailor output in Ubuntu 18.10 (cosmic):
If I run it again, it completes:
Or does anyone have an alternative post-processing tool to pdfbeads that can do the layer separation and compression without me having to fix up the toolchain every six months...
cheers
Gareth
Has anyone seen an issue like this in post-processing ScanTailor output in Ubuntu 18.10 (cosmic):
Code: Select all
gareth@comte:/mnt/data/gareth/scans/pcpilot118/out$ pdfbeads EPSON038.tif > tmp.pdf
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
WARNING: Nokogiri was built against LibXML version 2.9.8, but has dynamically loaded 2.9.4
Traceback (most recent call last):
9: from /usr/local/bin/pdfbeads:23:in `<main>'
8: from /usr/local/bin/pdfbeads:23:in `load'
7: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/bin/pdfbeads:220:in `<top (required)>'
6: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/bin/pdfbeads:220:in `new'
5: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:417:in `initialize'
4: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:417:in `each'
3: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:420:in `block in initialize'
2: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:90:in `fillStencilArray'
1: from /var/lib/gems/2.5.0/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:249:in `processMixed'
/var/lib/gems/2.5.0/gems/rmagick-2.16.0/lib/rmagick_internal.rb:1681:in `opaque': ImageMagick library function failed to return a result. (RuntimeError)
Code: Select all
gareth@comte:/mnt/data/gareth/scans/pcpilot118/out$ pdfbeads EPSON038.tif > tmp.pdf
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
WARNING: Nokogiri was built against LibXML version 2.9.8, but has dynamically loaded 2.9.4
This version of ImageMagick doesn't support JPEG2000 compression.
I'll use JPEG compression instead.
Prepared data for processing EPSON038.tif
JBIG2 compression has been requested, but the encoder is not available.
I'll use CCITT Group 4 fax compression instead.
Processed EPSON038.tif
Added background image from EPSON038.bg.jpg
cheers
Gareth