Hello, I'm using ImageMagick to convert a pdf file generated by scribus to an image file (png in the example). But the conversion failed with the following error message :
convert -density 200 -resize 800x1132 Document-1.pdf Document-1.png ERROR: /typecheck in --show-- Operand stack: --dict:15/15(L)-- 1.0 --dict:15/15(L)-- 1 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- 5 11 %oparray_pop --nostringval-- false 1 %stopped_push 5 11 %oparray_pop --nostringval-- (gstatetype) --dict:0/0 (L)-- --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- Dictionary stack: --dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:107/200 (L)-- --dict:107/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro) (G)-- --dict:20/24(L)-- --dict:4/6(L)-- --dict:20/20 (L)-- --dict:19/21(L)-- --dict:5/5(L)-- --dict:9/13(L)-- Current allocation mode is local ESP Ghostscript 815.03: Unrecoverable error, exit code 1 convert: Postscript delegate failed `Document-1.pdf'. convert: missing an image filename `Document-1.png'. But if I use pdftoppm command (from xpdf), I can convert the file to a ppm, and after, convert the ppm to an image file using ImageMagik. But I prefere to use only ImageMagick if it's possible. That's what I use for all my pdf files, except for this one. But it have a particularity : it's a pdf file containing a list field (that's seems to make convert failed). I join to this mail the scribus file and the pdf file, if someone want to understand the problem. He think there not a lot of people that use list fields in there pdf forms, but it's a possibility, and ImageMagick seems to not handle it. If you have any idea about this problem, tell me, please :) Some information about me : convert --version Version: ImageMagick 6.3.2 02/04/08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC scribus -v Version de Scribus 1.3.3.8 pdftoppm -v pdftoppm version 3.02 Copyright 1996-2007 Glyph & Cog, LLC -- Fabien Morin Développeur - Nexedi SA [EMAIL PROTECTED] http://www.erp5.com - Free / Open Source ERP
_______________________________________________ Magick-bugs mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-bugs
