Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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:
HI Im getting a similar error and cant find any help anywhere.
This same script works on some pdf and not on others and i cant seem to figure out why or how to get it to work on all of the pdf im needing images from.
heres the error:
Code:
[root@XXXXXX files]# gs -SDEVICE=jpeg -r72 -sOutputFile=../img/newsletter/asid_occ_summer2008.jpg -dNOPAUSE -dBATCH -dGraphicsAlphaBits=4 -dUseCIEColor -dLastPage=1 -- asid_occ_summer2008.pdf
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Error: /undefined in --filter--
Operand stack:
--dict:9/9(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-- 5918 --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue 7 11 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1064/1123(ro)(G)-- --dict:0/20(G)-- --dict:74/200(L)-- --dict:74/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:1/1(ro)(G)-- --dict:7/16(L)--
Current allocation mode is local
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
Last edited by jpwdesigns; 12-17-2008 at 07:10 PM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.