Hi all,
I'm trying to convert a PDF document to a JPG image using ImageMagick. The file is called "front.pdf" and I want to convert it to "front.jpg." When I use the convert command, I am getting an error:
Code:
$ convert front.pdf front.jpg
Error: /undefined in --filter--
Operand stack:
--dict:7/7(L)-- false false --dict:10/14(L)-- --nostringval-- --nostringval-- JPXDecode
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-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- 6851 2 11 %oparray_pop --nostringval-- false 1 %stopped_push 2 11 %oparray_pop --nostringval-- --nostringval-- --dict:0/0(L)-- --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- 182845 2 12 %oparray_pop --nostringval-- false 1 %stopped_push 2 12 %oparray_pop --nostringval-- --nostringval-- --dict:3/3(L)-- --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- 182239 --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue 7 14 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1072/1123(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- --dict:93/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:19/24(L)-- --dict:4/6(L)-- --dict:20/31(L)-- --dict:14/20(L)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G)-- --dict:7/16(L)--
Current allocation mode is local
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
convert: Postscript delegate failed `front.pdf'.
Any help would be greatly appreciated!