Search found 27 matches
- 21 Jul 2015, 01:13
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
I know I've mentioned this before in some posts, but I used this technique today and I thought I'd add it to the thread as its own tip... Tip: If all the text on the page is one color (say, blue text), you don't have to make a foreground color map. djvumake will create a minimal one for you. So toda...
- 16 Jul 2015, 23:42
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Hi all! It's been a year since my last post, and really not much has changed for my process. I scan a lot fewer books these days, since my whole library has been scanned and I try to avoid buying paper books unless that's the only form available. One thing I've started doing since getting a large de...
- 24 Jul 2014, 12:05
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Thanks, all, for the kind words! As I come across interesting or confusing books I'll be sure to make more posts, but in truth most books are very easy to compress with the techniques already here. Between scanTailor and imageMagick and minidjvu and djvuLibre, we have a pretty complete suite of tool...
- 01 May 2014, 11:02
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
To celebrate the 50-year anniversary of the BASIC programming language, I was looking around the net and found the PDF version of the "10 PRINT" book. It's offered here: http://10print.org/ . The PDF is 50 megabytes. Of course, I couldn't let that stand! In short order, I produced a 600-dp...
- 17 Mar 2014, 10:28
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Tip of the day... if only a few files have backgrounds you can just generate them specifically. But if most pages have a background, it's easier to just generate them all: for x in page*.png ; do convert $x [options] back${x%png}jpg ; done ... then check and erase the ones with only one color (which...
- 15 Mar 2014, 17:21
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Ok, so last time, I showed pulling some text off a 'parchment'-style background on a fuzzy jpeg scan. That was very successful. Today's experiment was only partially successful. This time, I'm working with a terrible scan I found at http://astrolibrary.org/ebooks/ . There is tons of bleed-through on...
- 15 Mar 2014, 14:48
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Just a note: until today, when I cropped all the pages in a PDF, I had to use acrobat to export them to images, then create a new PDF before running through djvudigital. This is because ghostscript was ignoring the cropping. It turns out I can pass "-dUseCropBox" through to ghostscript and...
- 14 Mar 2014, 15:56
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Ok, so if you've followed the last two posts, you know we are splitting a page into foreground/background, processing them separately, and recombining them into a djvu file. We're now on the last step... how do you take the foreground minidjvu output, and combine it with the background bg44 chunks? ...
- 14 Mar 2014, 14:39
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Ok, so in the last post we found an incantation that gets us a reasonable foreground mask for a particular document. I'm afraid every document is different, but if you're lucky the same formula will at least work for every page of the document at hand. So, the first order of business is to split out...
- 14 Mar 2014, 14:04
- Forum: Software
- Topic: Learning to Create Tiny DJVU files
- Replies: 35
- Views: 75514
Re: Learning to Create Tiny DJVU files
Today I'm back to my hobby of cleaning up bad scans I find on the net. Our subject for today is a computer game manual for Ultima 4, which I bought from GOG.com. It is a poor scan, and djvudigital just wants to make every page all-background. So this makes for a good example of how I go about extrac...