djvu delegate

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

djvu delegate

Post 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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: djvu delegate

Post by Bonzo »

what do you get with convert -list format?
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

Re: djvu delegate

Post 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.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: djvu delegate

Post by Bonzo »

Try running convert -list format and see what it displays.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: djvu delegate

Post 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?
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

Re: djvu delegate

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: djvu delegate

Post 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.
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

Re: djvu delegate

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: djvu delegate

Post 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?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: djvu delegate

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

Re: djvu delegate

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: djvu delegate

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
pessi
Posts: 6
Joined: 2013-11-05T10:52:05-07:00
Authentication code: 6789

Re: djvu delegate

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: djvu delegate

Post by dlemstra »

Those posts are probably from mac/unix/linux users.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: djvu delegate

Post 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?
Post Reply