index

my tools to use the djvu (compressed) image format

First some useful links

I'm using the C api

Samples on wikipedia

I'm now using myself-packaged version (basically the CVS head):

http://maruska.dyndns.org/comp/packages/djvulibre-3.5.15.tar.gz

gdk-pixbuf loader (for EOG for example)

I have patched gtk+-2.6.8 to build with a DjVu loader (for gdk-pixbuf):

You need 2 files:

The patch modifies: configure.in gdk-pixbuf/Makefile.am

Todo: maybe static gdk-pixbuf/gdk-pixbuf-io.c ?

Adding support for djvu into ImageMagick:

ebuild: http://maruska.dyndns.org/comp/gentoo/portage/media-gfx/imagemagick/

so you need a patch & a new file: http://maruska.dyndns.org/comp/gentoo/portage/media-gfx/imagemagick/files/djvu.patch http://maruska.dyndns.org/comp/gentoo/portage/media-gfx/imagemagick/files/djvu.c

my contributions to djvu-libre:

I found & fixed several bugs (show-stoppers for the C api).

DjVu-Libre forum

todo:

writer for Imagemagick

My other hacks

unpaper

notes on the distro:

cjb2 does not work w/ multi-page documents. That's very sad!

cpaldjvu - DjVuDocument encoder for low-color images. (areas such as screen dumps) This program should be rewritten as a pre-processor for csepdjvu.

csepdjvu - DjVu encoder for separated data files.

djvm Creating a bundled document:

djvm -c[reate] doc.djvu page1.djvu ... pageN.djvu

Inserting: djvm -i[nsert] doc.djvu page.djvu [pagenum]

Removing: djvm -d[elete] doc.djvu pagenum

Listing: djvm -l[ist] doc.djvu

Shared dictionary

http://www.djvu.org/forum/phpbb/viewtopic.php?p=1352#1352