Page 1 of 2

djvu delegate

Posted: 2013-11-05T10:54:37-07:00
by pessi
Dear All,

I was hoping to read djvu files through imagemagick.. I installed imagemagick for windows and then checked the delegates using

convert -list configure

I cannot see the djvu delegate in the list. I uninstalled imagemagick and then installed djvulibre and then reinstalled imagemagick.

Still no luck, cannot see the djvu delegate.

Thanks in advance,

Prasad

Re: djvu delegate

Posted: 2013-11-05T12:13:16-07:00
by Bonzo
what do you get with convert -list format?

Re: djvu delegate

Posted: 2013-11-05T13:33:33-07:00
by pessi
Thank you for your answer.
please find the result of configure below.

Name Value
---------------------------------------------------------------------------
CC vs10
COPYRIGHT Copyright (C) 1999-2013 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x687
LIB_VERSION_NUMBER 6,8,7,4
NAME ImageMagick
RELEASE_DATE 2013-12-01
VERSION 6.8.7
WEBSITE http://www.imagemagick.org


Regards,
Prasad.

Re: djvu delegate

Posted: 2013-11-05T13:44:15-07:00
by Bonzo
Try running convert -list format and see what it displays.

Re: djvu delegate

Posted: 2013-11-05T13:44:52-07:00
by fmw42
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
IM cannot find djvu delegate or it was not installed correctly.

Check to be sure it was installed where IM can find it.

You could also try adding --with-djvu to your ./configure command.

I am not sure how you install it and get IM to know about it on Windows.

Did you reinstall IM after installing the djvu delegate?

Re: djvu delegate

Posted: 2013-11-05T13:49:34-07:00
by pessi
the djvu part of the list is

DCR DNG r-- Kodak Digital Camera Raw Image File
DCX* PCX rw+ ZSoft IBM PC multi-page Paintbrush
DDS* DDS rw+ Microsoft DirectDraw Surface
ONT* TTF r-- Multi-face font package (Freetype 2.1.5)
DJVU* DJVU --- Déjà vu
See http://www.djvuzone.org/ for details about the DJVU format. The
DJVU 1.2 specification is available there and at
ftp://swrinde.nde.swri.edu/pub/djvu/documents/.
DNG DNG r-- Digital Negative
DOT DOT --- Graphviz
DPS DPS --- Display Postscript Interpreter


does that mean anything?

Re: djvu delegate

Posted: 2013-11-05T14:03:37-07:00
by fmw42
DJVU* DJVU --- Déjà vu

since it does not say r or w, it means that either it is not installed or IM cannot find it.

Re: djvu delegate

Posted: 2013-11-05T14:05:36-07:00
by pessi
I installed the windows package from
http://sourceforge.net/projects/djvu/fi ... e_Windows/

Is that the right one?

How do I let IM know where djvu is installed? any settings change?

Re: djvu delegate

Posted: 2013-11-05T14:12:29-07:00
by fmw42
I am not a windows user, so cannot help. But perhaps you can find some insight from http://www.imagemagick.org/Usage/windows/#IM_setup

Perhaps a registry entry needs to be set or edited?

Re: djvu delegate

Posted: 2013-11-05T14:41:48-07:00
by dlemstra
You should put djvu in your delegates.xml file. But I have no idea what you should put there to make it work.

Re: djvu delegate

Posted: 2013-11-05T14:52:21-07:00
by pessi
thank you for the suggestion. But I wonder what should be the input in delegates.xml will research a bit..but very less info on this.

Re: djvu delegate

Posted: 2013-11-05T14:56:30-07:00
by dlemstra
I am sorry but I really have no clue how DjVu works and what command you should put in delegates.xml. The reason it is not build in with ImageMagick is due to licensing issues. DjVu uses the GPL 2 license (http://djvu.sourceforge.net/licensing.html) which is incompatible with our Apache license. I also don't except them to change their license to LGPL.

Re: djvu delegate

Posted: 2013-11-05T15:00:28-07:00
by pessi
the strange thing is there are lots of posts on this forum where people have a missing delegate error for other formats and they all post the list configure and many of them have djvu listed. Which is why I am wondering if it is installed by default.

Re: djvu delegate

Posted: 2013-11-05T15:12:24-07:00
by dlemstra
Those posts are probably from mac/unix/linux users.

Re: djvu delegate

Posted: 2013-11-05T15:21:19-07:00
by Bonzo
dlemstra is probably correct as I have djvu listed as read on my server but not on my Windows install.

So the licences are different for windows than mac/unix/linux users?