[Xapian-discuss] Xapian with djvu files?

James Aylett james-xapian at tartarus.org
Mon Jan 14 08:50:18 GMT 2008


On Mon, Jan 14, 2008 at 08:25:41AM +0000, Olly Betts wrote:

> Yes, that looks about right, except the mime-type I have listed in
> /etc/mime.types is "image/vnd.djvu", which is the one registered with
> IANA:
> 
> http://www.iana.org/assignments/media-types/image/vnd-djvu

Ah, the joy of the vnd branch. At some point someone will actually
explain to me why things are better off there than done directly
(especially when registered!). Ho hum.

> > However I have to wonder why you want to - djvu is primarily an image
> > file format, although it has support for mixed text and images. I
> > admit I hadn't heard of it before now though, so perhaps the website
> > [1] is a little misleading about the primary use.
> 
> "man djvutxt" is a little more helpful:
> 
>     Program djvutxt decodes the hidden text layer of a DjVu document
>     inputdjvufile and prints it into file outputtxtfile or on the
>     standard output.  The hidden text layer is usually generated with
>     the help of an optical character recognition software.

Hmm. Unfortunate it doesn't give any idea of how common that usage is,
though :(

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list