Image processing 在多层pdf文档上使用转换时,ImageMagick错误范围签入--运行
我正在尝试将包含多个层的pdf文档转换为.jpg图像。但这给了我一个错误。请参阅下文: 使用此命令:Image processing 在多层pdf文档上使用转换时,ImageMagick错误范围签入--运行,image-processing,imagemagick,ghostscript,Image Processing,Imagemagick,Ghostscript,我正在尝试将包含多个层的pdf文档转换为.jpg图像。但这给了我一个错误。请参阅下文: 使用此命令: convert test.pdf test.jpeg 结果是: Error: /rangecheck in --run-- Operand stack: --dict:7/16(L)-- Im0 0.0 --nostringval-- true 2292 0 0 1 Execution stack: %interp_exit .runexec2
convert test.pdf test.jpeg
结果是:
Error: /rangecheck in --run--
Operand stack:
--dict:7/16(L)-- Im0 0.0 --nostringval-- true 2292 0 0 1
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-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1162/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:108/127(ro)(G)-- --dict:290/300(ro)(G)-- --dict:22/25(L)-- --dict:6/8(L)-- --dict:21/40(L)-- --dict:5/5(L)-- --dict:1/1(ro)(G)-- --dict:5/5(L)-- --dict:8/15(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
convert: Postscript delegate failed `test.pdf': ACzp.cache @ error/pdf.c/ReadPDFImage/638.
convert: missing an image filename `test.pdf' @ error/convert.c/ConvertImageCommand/2940.
我也试过了
convert --flatten test.pdf test.jpeg
但也没有运气
有谁能帮我解决这个问题吗?我现在正忙着呢?看来Ghostscript无法呈现PDF。尝试更新二进制文件,因为版本8.71已经快10年了。看起来Ghostscript无法呈现PDF。尝试更新二进制文件,因为版本8.71已经快10年了。