Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Imagemagick doesn't work (Fedora 14) on one PDF file:

$ convert -density 300 INPUT.PDF out.png
Error: /ioerror in --showpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   --nostringval--   --nostringval--   141   1   319   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   1761   0   9   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1157/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--   --dict:22/25(L)--   --dict:6/8(L)--   --dict:22/40(L)--
Current allocation mode is local
Last OS error: 27
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
convert: Postscript delegate failed `INPUT.PDF':  @ error/pdf.c/ReadPDFImage/645.
convert: missing an image filename `out.png' @ error/convert.c/ConvertImageCommand/2953.
$ 

It doesn't work on a djvu file:

$ convert -density 300 INPUT.DJVU out.png
convert: no decode delegate for this image format `INPUT.DJVU' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `out.png' @ error/convert.c/ConvertImageCommand/2953.
$

An extra: the output filenames

out-0.png
out-1.png
...
out-9.png
out-10.png
out-11.png
...
out-123.png
out-124.png

Is there a way to be like this?

out-000.png
out-001.png
...
out-009.png
out-010.png
out-011.png
...
out-123.png
out-124.png

Because they would be in wrong order:

out-0.png
out-1.png
out-10.png
out-11.png
out-123.png
out-124.png
out-9.png
share|improve this question
    
Cross-posted on StackOverflow: stackoverflow.com/questions/4707153/… –  Bobby Jan 17 '11 at 16:03
    
@user62367 Stop crossposting, this is your last warning –  Ivo Flipse Jan 18 '11 at 0:20
add comment

1 Answer

up vote 1 down vote accepted

ImageMagick was compiled without DJVU support. You must recompile it with option: --with-djvu which you can pass to ./configure script.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.