DjVu conversion --> "No decode delegate for this image form"

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
afatac
Posts: 9
Joined: 2009-12-10T03:28:46-07:00
Authentication code: 8675309

DjVu conversion --> "No decode delegate for this image form"

Post by afatac »

I am trying to convert a DjVu file to Jpeg image. The command line I used was

convert test1.djvu test2.jpg

However, I got this error message

convert: no decode delegate for this image format `test1.djvu' @ constitu
te.c/ReadImage/530.
convert: missing an image filename `test2.jpg' @ convert.c/ConvertImageCommand/2
838.

Can someone help?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: DjVu conversion --> "No decode delegate for this image form"

Post by fmw42 »

you likely need to install the DjVu delegate library and then recompile IM.

see http://djvu.sourceforge.net/

after installing, then type

convert -list configure

and look at the line starting with DELEGATES and see if it is listed. Or

convert -list format

and see if it is listed in the image formats that IM recognizes.
afatac
Posts: 9
Joined: 2009-12-10T03:28:46-07:00
Authentication code: 8675309

Re: DjVu conversion --> "No decode delegate for this image form"

Post by afatac »

Hi fmw42,

Thanks for the reply.
you likely need to install the DjVu delegate library and then recompile IM.

see http://djvu.sourceforge.net/
This is tough for me as I do not have programming knowledge.
after installing, then type

convert -list configure

and look at the line starting with DELEGATES and see if it is listed. Or

convert -list format

and see if it is listed in the image formats that IM recognizes.
For convert -list configure, it is not listed under DELEGATES. For convert -list format, this is what its shown

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/.

So I suppose the DjVu delegate library is not installed.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: DjVu conversion --> "No decode delegate for this image form"

Post by fmw42 »

For it to be installed, it would either need to show in the list of DELEGATES or convert -list format would need to show it as

DJVU* DJVU r-- Déjà vu
or
DJVU* DJVU rw- Déjà vu

r says that IM can read it and rw says it can read and write it


What version of IM are you using and on what platform? (convert -version)

Did you install from Binary or from Source?

The reason I ask is that on my Mac OSX IM 6.5.8-8 Q16, I don't even see DJVU* DJVU --- Déjà vu listed at all.
afatac
Posts: 9
Joined: 2009-12-10T03:28:46-07:00
Authentication code: 8675309

Re: DjVu conversion --> "No decode delegate for this image form"

Post by afatac »

What version of IM are you using and on what platform? (convert -version)

Did you install from Binary or from Source?
Version: ImageMagick 6.5.8-5 2009-12-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP

I am using on Windows XP SP3 and it is installed from binary.

Instead of learning how to install the library and recomplie the source, I think I will try using IrfanView.
Post Reply