Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Search found 106 matches

by dingodog
24 Nov 2011, 23:36
Forum: Programs, Software releases, and more.
Topic: script to auto-split two scanned pages in single pages
Replies: 9
Views: 13218

Re: script to auto-split two scanned pages in single pages

improved version of script (it strips the final extension from file and replace with -A.jpg and -B.jpg without reduplication) for graphicsmagick if [ ! -e even-odd ]; then mkdir even-odd; fi first="`ls -1 *.jpg | head -n1`" let "halfwidth=`gm identify -format '%w \n' "$first"`/2" width="`gm identify...
by dingodog
09 Oct 2011, 08:46
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

since filesize depends, in 1bit (b/w) images, principally from quantity of information (and any pixel is an information) it is a very good idea to scan with dither in b/w... (ironic mode)
by dingodog
08 Oct 2011, 18:03
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

blurred with radious = 3 (gaussian blur) result (using jbig2enc): jbig2 -s -p -v -T 135 blurred.png && pdf.py output>out.pdf - http://ifile.it/ce8nh3w minimum blurring geometry needed to erase noise derived from improper scanning (for imagemagick convert and gm convert from graphicsmagick, seems to ...
by dingodog
08 Oct 2011, 16:20
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

if eL_Pusher had not afraid to use command-line programs, he might get better results than with scantailor using jbig2enc I blurred image with radious 4 before to encode with jbig2enc, as I wrote here http://www.diybookscanner.org/forum/viewtopic.php?p=11395#11395 this is a typical fear induced by M...
by dingodog
05 Oct 2011, 09:44
Forum: Scan Tailor
Topic: White margins - when white = light cyan
Replies: 1
Views: 7249

Re: White margins - when white = light cyan

you can use Imagemagick (or, best option, graphicsmagick, omit gm to use code with imagemagick)

Code: Select all

gm convert mot00page0033.png  -shave 22x22  -bordercolor white  -border 22x22  bordered.png
result:

Image

Uploaded with ImageShack.us
by dingodog
05 Oct 2011, 09:28
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

the same task can be performed with jbig2enc I'm experimenting various blur values in order to remove the dithering under text areas blurring already dithered image (1bit) before to process with jbig2enc, helps to clear dithering blurring image you have provided with radius=4 (gaussian blur) and the...
by dingodog
05 Oct 2011, 09:06
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

What? That page isn't even processed and has bad dpi. Hum? so do you believe to Adobe? You should not to believe # pdfinfo el-factor-humano.pdf Tagged: no Pages: 1 Encrypted: no Page size: 6578 x 4424 pts File size: 458678 bytes Optimized: no PDF version: 1.4 ppi is the same, dpi changed, but dpi i...
by dingodog
05 Oct 2011, 08:38
Forum: Scan Tailor
Topic: B/W source - how to keep format?
Replies: 29
Views: 23814

Re: B/W source - how to keep format?

best option is to use jbig2enc

see how good is the output using jbig2enc

http://ifile.it/si9lfye
by dingodog
04 Oct 2011, 14:56
Forum: Software
Topic: pdf container for jpeg 2000 images?
Replies: 8
Views: 21736

Re: pdf container for jpeg 2000 images?

many thanks I tried FreePic2Pdf and it worked very fine in Linux (using wine) it rightly created pdf from jp2 images, however, due probably to jpeg2000 decoding problems, Epdfview and Xpdf are not able to show images inside pdf, while Mupdf (viewer) That I compiled some time ago, is able to display ...
by dingodog
04 Oct 2011, 08:45
Forum: Software
Topic: jbig2enc: pdf.py patched for right pdf page size
Replies: 4
Views: 3560

Re: jbig2enc: pdf.py patched for right pdf page size

rubypdf fixed pdf.py I attach source code: #!/usr/bin/python import sys import re import struct import glob import os # This is a very simple script to make a PDF file out of the output of a # multipage symbol compression. # Run ./jbig2 -s -p <other options> image1.jpeg image1.jpeg ... # python pdf...