Earlier today, I started reading about the
DjVu family of document formats. It really sounds slick: file sizes much smaller than PNG (and incredibly smaller than TIFF or PDF) for lossless data with the DjVuText format, file sizes much smaller than JPEG with equivalent quality for the DjVuPhoto format, and an advanced DjVuDocument format that separates the background photo from the foreground text and produces a quite nice output. There are wonderful plugins for browsers on all platforms, and server-side support already in Debian for sending pages incrementally as needed by clients.
I tried this out a bit and indeed it looks great on monochrome scans, and I made a quick try of DjVuPhoto as well. That part looks great.
So here's the bad news.
Debian has no nice way to generate DjVuDocument files. There is a PS/PDF-to-DjVu converter that uses a djvu driver for Ghostscript. But Debian does not include that driver. Though, strangely, the program that depends on this driver is actually in Debian main. (Bug filed.) That program actually will make background-separated images, but only if they are separate objects in the input.
All Debian has is a program csepdjvu, which requires you to somehow manually separate the foreground and background images. Ugh.
So there is no way using software in Debian to produce DjVuDocument files with automatic separation, either from scans or from a digital source. It appears that there may not be Free Software to do this from scans either. This fact is not made clear at all in the DjVu documentation that is around.
Comments
Sat, 06.09.2008 01:00
Anything is fixable in the sam e sense that any turing compli ant programming language can d o what any other TC lang [...]
Fri, 05.09.2008 22:14
Sarah has her doctor, the doct or is in Wasilla, AK, which is 810 miles away from Junuea, w here she lives in the Go [...]
Fri, 05.09.2008 16:22
Anything is fixable. It might be hard, but it is doable. Every country has its problem s, too. There is no pan [...]
Fri, 05.09.2008 14:38
I always find it funny reading or hearing people talk about how one side (e.g. Republicans ) are all talk but don't [...]
Fri, 05.09.2008 02:07
Republicans give lip service t o freedom and liberty but usua lly deliver a fascist form of socialism. Democrats tal [...]
Fri, 05.09.2008 00:43
First off, you mentioned "the Republicans know that their po licies aren't working" which i sn't actually true. The [...]
Fri, 05.09.2008 00:00
Though I ride to work in nothi ng like hurricane winds, I hav e been using an electric bike and it really helps figh [...]
Thu, 04.09.2008 21:23
Except that the Democrats aren 't talking about ending war, t hey are just looking to shift focus from Iraq to Afgha [...]